fix: save global
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 7s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 2s
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 7s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 2s
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,6 +37,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{{- $global := . -}}
|
||||||
{{- with .Site.Menus.social -}}
|
{{- with .Site.Menus.social -}}
|
||||||
<ol class="menu-social">
|
<ol class="menu-social">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
@@ -54,8 +55,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- $currentLang := .Site.Language.Lang -}}
|
{{- $currentLang := $global.Site.Language.Lang -}}
|
||||||
{{- range .Site.Home.AllTranslations -}}
|
{{- range $global.Site.Home.AllTranslations }}
|
||||||
{{- if ne .Language.Lang $currentLang }}
|
{{- if ne .Language.Lang $currentLang }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
<a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||||
|
Reference in New Issue
Block a user