From ed2f03c59d650e7fd00f081d7991b374d91b7aa6 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Tue, 14 Sep 2021 00:13:31 +0200 Subject: Handle translations and additional menu items --- static/css/style.css | 6 ++++-- templates/article.html | 2 ++ templates/base.html | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index e265378..698a182 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -27,7 +27,8 @@ h3 a:hover { } footer.post-info, -footer.copyright { +footer.copyright, +#content .translations { font-size: 0.8em; color: #595959; } @@ -71,7 +72,8 @@ pre { } footer.post-info, - footer.copyright { + footer.copyright, + #content .translations { color: #b0b0b0; } diff --git a/templates/article.html b/templates/article.html index fba7058..99db2b5 100644 --- a/templates/article.html +++ b/templates/article.html @@ -27,8 +27,10 @@

{{ article.title }}

+
{% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} +