File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,9 +46,12 @@ copyRight = "Copyright (c) 2020-2024 Thulite"
4646 priority = 0.5
4747
4848[caches ]
49+ [caches .getresource ]
50+ dir = " :cacheDir/:project"
51+ maxAge = " 1h"
4952 [caches .getjson ]
5053 dir = " :cacheDir/:project"
51- maxAge = -1 # "30m "
54+ maxAge = " 1h "
5255
5356[taxonomies ]
5457 contributor = " contributors"
Original file line number Diff line number Diff line change 11<!-- Custom head -->
2- {{ if site.Params.add_ons.docSearch -}}
2+ {{ if site.Params.add_ons.docSearch -}}
33 {{ $options := (dict "targetPath" "/css/main.min.css" "outputStyle" "compressed") }}
44 {{ $style := resources.Get "scss/app.scss" | css.Sass $options }}
5- < link rel ="stylesheet " href ="{{ $style.Permalink }} ">
5+ < link rel ="stylesheet " href ="{{ $style.Permalink }} ">
66{{ end -}}
7+ < meta name ="docsearch:audience " content ="{{ .Params.audience | default " public " }}">
Original file line number Diff line number Diff line change 1+ {{- with .Params.seo.robots }}
2+ < meta name ="robots " content ="{{ . }} ">
3+ {{- end }}
Original file line number Diff line number Diff line change 1+ User-agent: *
2+ Disallow:
3+ Sitemap: {{ "/sitemap.xml" | absURL }}
You can’t perform that action at this time.
0 commit comments