From 365f351522cbabf837f295c3fbb32b5169ed6b66 Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 4 Aug 2020 17:41:09 +0200 Subject: [PATCH] miglioramenti pelican serve --- Makefile | 4 ++-- themes/hackit0x16/templates/translations.html | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7e91be4..f08816a 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,9 @@ regenerate: serve: echo http://localhost:8000/ ifdef PORT - pelican -lr -p $(PORT) + pelican --ignore-cache -lr -p $(PORT) else - pelican -lr + pelican --ignore-cache -lr endif devserver: diff --git a/themes/hackit0x16/templates/translations.html b/themes/hackit0x16/templates/translations.html index 1eec7c4..fc094dd 100644 --- a/themes/hackit0x16/templates/translations.html +++ b/themes/hackit0x16/templates/translations.html @@ -1,9 +1,11 @@ {% macro translations_for(article) %} {% if article.translations %} +
Translations: {% for translation in article.translations %} {{ translation.lang }} {% endfor %} +
{% endif %} {% endmacro %}