mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-06 11:09:21 +00:00
✨ Add opt-in client-side language redirect
This commit is contained in:
1 parent
da8ca782aa
commit
3a86a7656e
5 files changed
+305
No files matched your search
@@ -129,6 +129,7 @@
|
||||
type="text/javascript"
|
||||
src="{{ $jsAppearance.RelPermalink }}"
|
||||
integrity="{{ $jsAppearance.Data.Integrity }}"></script>
|
||||
{{ partial "language-redirect.html" . }}
|
||||
{{ $enableA11y := .Site.Params.enableA11y | default false }}
|
||||
{{ if $enableA11y }}
|
||||
{{ $jsA11y := resources.Get "js/a11y.js" | resources.Minify | resources.Fingerprint $alg }}
|
||||
|
||||
Reference in new issue
Block a user