Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/layouts/_partials/head/custom-head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- Custom head -->
{{ if site.Params.add_ons.docSearch -}}
{{ if site.Params.add_ons.docSearch -}}
{{ $options := (dict "targetPath" "/css/main.min.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "scss/app.scss" | css.Sass $options }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ end -}}
<meta name="docsearch:audience" content="{{ .Params.audience | default " public" }}">
3 changes: 3 additions & 0 deletions docs/layouts/_partials/seo/robots.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{- with .Params.seo.robots }}
<meta name="robots" content="{{ . }}">
{{- end }}
3 changes: 3 additions & 0 deletions docs/layouts/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *
Disallow:
Sitemap: {{ "/sitemap.xml" | absURL }}