mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 02:14:21 +00:00
1 parent
ddd8e9ad5d
commit
11c1ebe955
2 files changed
+2
-2
No files matched your search
@@ -55,7 +55,7 @@
|
||||
{{ if ne .Site.Params.search.engine 0 }}
|
||||
{{/* Configure search engine. */}}
|
||||
<script>
|
||||
const search_index_filename = {{ "/index.json" | relURL }};
|
||||
const search_index_filename = {{ "/index.json" | relLangURL }};
|
||||
const i18n = {
|
||||
'placeholder': {{ i18n "search_placeholder" }},
|
||||
'results': {{ i18n "search_results" }},
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{{/* Compute image path outside of HTML style element due to Hugo limitation. */}}
|
||||
{{ $overlay_img := "" }}
|
||||
{{ if $header.overlay_img }}
|
||||
{{ $overlay_img = (printf "img/%s" $header.overlay_img) }}
|
||||
{{ $overlay_img = (printf "img/%s" $header.overlay_img) | relURL }}
|
||||
{{end}}
|
||||
|
||||
<section id="{{ $page.File.TranslationBaseName }}" class="hero-overlay" style="
|
||||
|
||||
Reference in new issue
Block a user