diff --git a/themes/startwords/assets/scss/_i18n.scss b/themes/startwords/assets/scss/_i18n.scss index 1366662a..145f1da7 100644 --- a/themes/startwords/assets/scss/_i18n.scss +++ b/themes/startwords/assets/scss/_i18n.scss @@ -136,6 +136,15 @@ aside.translations { } } +/* adjust placement on homepage, where it is in the top right corner */ +.home aside.translations { + padding: 8px; + @media (min-width: $breakpoint-m) { + padding: 15px; + } +} + + .issue-list { .languages { padding: 2rem 0 1.5rem 2rem; diff --git a/themes/startwords/layouts/index.html b/themes/startwords/layouts/index.html index 7568a3e4..f99c7ea3 100644 --- a/themes/startwords/layouts/index.html +++ b/themes/startwords/layouts/index.html @@ -9,13 +9,12 @@ {{ define "main" }}

{{ .Site.Title }}

+ {{ partial "translations.html" . }}
-
- {{ partial "translations.html" . }} {{/* get issues for the current language; fill in with all issues; then choose the first. */}} {{ $issues := where .Site.Pages "Type" "issue" | lang.Merge (where .Site.AllPages "Type" "issue") }} {{ $issue := index ($issues) 0 }}