diff --git a/layouts/partials/article-headline.html b/layouts/partials/article-headline.html index 75d8afc..84dda21 100644 --- a/layouts/partials/article-headline.html +++ b/layouts/partials/article-headline.html @@ -3,7 +3,7 @@

{{ .current.Title }} {{- partial "lang-detection.html" .current -}} {{ if .current.Scratch.Get "en_article_in_fr_site" }} - en flag +{{- partial "icons/en.svg" . -}} {{ end }}

{{- partial "post-metadata.html" . -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 64474bd..ed7b058 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -23,8 +23,6 @@ - - {{- range .AllTranslations }} - {{ .Lang }} flag + {{- partial (printf "icons/%s.svg" .Lang) . -}} {{- end -}} {{- else -}} {{- range site.Sites }} - {{ .Language.Lang }} flag + {{- partial (printf "icons/%s.svg" .Language.Lang) . -}} {{- end -}} {{- end }} diff --git a/static/icons/fr.svg b/static/icons/fr.svg deleted file mode 100644 index b50bd7e..0000000 --- a/static/icons/fr.svg +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file