fix: use page instead of global
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 8s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 10s
Blog Deployment / Test-Staging (push) Successful in 3s
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Has been skipped
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 8s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 10s
Blog Deployment / Test-Staging (push) Successful in 3s
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Has been skipped
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{- $global := . -}}
|
||||
{{- $page := . -}}
|
||||
{{- with .Site.Menus.social -}}
|
||||
<ol class="menu-social">
|
||||
{{ range . }}
|
||||
@@ -55,8 +55,8 @@
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{- $currentLang := $global.Site.Language.Lang -}}
|
||||
{{- range $global.Site.Home.AllTranslations }}
|
||||
{{- $currentLang := $page.Language.Lang -}}
|
||||
{{- range $page.AllTranslations }}
|
||||
{{- if ne .Language.Lang $currentLang }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||
|
Reference in New Issue
Block a user