test: use custom scss for toggle icon
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 5s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 10s
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 5s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 10s
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:
@@ -2,3 +2,8 @@
|
||||
padding: 1rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.lang-toggle-icon svg {
|
||||
width: 64px;
|
||||
height: 24px;
|
||||
}
|
@@ -58,9 +58,9 @@
|
||||
{{- $currentLang := $page.Language.Lang -}}
|
||||
{{- range $page.AllTranslations }}
|
||||
{{- if ne .Language.Lang $currentLang }}
|
||||
<li>
|
||||
<li class="lang-toggle-icon">
|
||||
<a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||
<object data="/icons/toggle_to_{{ .Language.Lang }}.svg" type="image/svg+xml" class="language-toggle"></object>
|
||||
{{ partial "helper/icon" (printf "toggle_to_%s" .Language.Lang) }}
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
|
Reference in New Issue
Block a user