mirror of
https://github.com/trwnh/hugo-theme-paradox.git
synced 2024-11-24 10:21:21 +00:00
only load search index on search page
This commit is contained in:
parent
b217acea16
commit
00a1a1cc17
|
@ -54,12 +54,6 @@
|
||||||
{{ partial "styles/borders.html" . }}
|
{{ partial "styles/borders.html" . }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{- /* import Fork Awesome (TODO: replace with proper SVG icons?) */ -}}
|
|
||||||
<link rel="stylesheet"
|
|
||||||
href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
|
|
||||||
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY="
|
|
||||||
crossorigin="anonymous">
|
|
||||||
|
|
||||||
{{ partial "seo.html" . -}}
|
{{ partial "seo.html" . -}}
|
||||||
{{- block "head" . -}}
|
{{- block "head" . -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -6,5 +6,3 @@
|
||||||
<a href="#top">back to top</a>
|
<a href="#top">back to top</a>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{{ partial "search/search-index.html" . }}
|
|
||||||
|
|
||||||
|
|
|
@ -18,4 +18,5 @@
|
||||||
<style>
|
<style>
|
||||||
a[href="#top"] {display: none;}
|
a[href="#top"] {display: none;}
|
||||||
</style>
|
</style>
|
||||||
|
{{ partial "search/search-index.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Reference in a new issue