Update README.md

soper-book
Alex Shpak 2019-11-14 00:48:11 +01:00
parent 13584878c2
commit aaf236410e
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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>