diff options
| author | BigCoke233 <hi@guhub.cn> | 2025-12-17 19:49:33 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2025-12-17 19:49:33 +0800 |
| commit | 96d75f82475745d5b26ee05b005b0d48b42b7b48 (patch) | |
| tree | 1d921e28c1c1a3c587f1326fedabad4f0b0e957c /layouts/blank.html | |
| parent | 6fdbcea7c1477ce57352f62d18edf9cdea40219f (diff) | |
fix: unexpectedly navigate back to CN site the context did not pass to logo
component, hence `.Site.LanguagePrefix` gives nothing.
Diffstat (limited to 'layouts/blank.html')
| -rw-r--r-- | layouts/blank.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/blank.html b/layouts/blank.html index d2c6c14f..799c398a 100644 --- a/layouts/blank.html +++ b/layouts/blank.html @@ -1,7 +1,7 @@ {{ define "main" }} <article class="flex flex-col justify-center items-center" style="height: calc(100dvh - var(--page-margin-y) * 2)"> - {{ partial "components/logo" (dict "imageClass" "w-20 md:w-[7rem] my-4") }} + {{ partial "components/logo" (dict "imageClass" "w-20 md:w-[7rem] my-4" "ctx" .) }} <div class="markdown-body font-mono text-sm"> {{ .Content }} </div> |
