diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | layouts/partials/docs/html-head.html | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -20,6 +20,7 @@ - Clean simple design - Light and Mobile-Friendly +- Multi-language support - Customisable - Designed to not interfere with other layouts - Zero initial configuration @@ -240,7 +241,6 @@ Buttons are styled links to internal of external pages {{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}} ``` - ### Tabs Useful if you want to show alternative information per platform or setting. diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 153ab35..b9df8d9 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -10,7 +10,7 @@ <link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}"> {{ if default true .Site.Params.BookSearch }} -{{- .Scratch.Set "bookSearchConfig" (i18n "bookSearchConfig") -}}} <!-- Remove after https://github.com/gohugoio/hugo/issues/6331 --> +{{- .Scratch.Set "bookSearchConfig" (i18n "bookSearchConfig") -}} <!-- Remove after https://github.com/gohugoio/hugo/issues/6331 --> {{- $searchJSFile := printf "%s.search.js" .Language.Lang -}} {{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | resources.Fingerprint }} <script defer src="{{ $searchJS.RelPermalink }}" integrity="{{ $searchJS.Data.Integrity }}"></script> |