From e0a989555b6bef9173088da9e0b980338a88ce0c Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 19 Jun 2024 14:44:10 +0200 Subject: Swiched the theme to bulma-css --- theme/bulma/templates/article.html | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 theme/bulma/templates/article.html (limited to 'theme/bulma/templates/article.html') diff --git a/theme/bulma/templates/article.html b/theme/bulma/templates/article.html new file mode 100644 index 0000000..bc78ec9 --- /dev/null +++ b/theme/bulma/templates/article.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} +{% block html_lang %}{{ article.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(article) %} + {{ translations.entry_hreflang(article) }} + {% endif %} + + {% if article.description %} + + {% endif %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + +{% block content %} +
+
+

+ {{ article.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
+
+ {{ _('Posted on %(when)s in %(category)s', + when=article.locale_date, + category='%s'|format(SITEURL, article.category.url, article.category)|safe) }} + {% if article.tags %} +
+ Tags: + {% for tag in article.tags %} + {{ tag }} + {% endfor %} +
+ {% endif %} +
+
+ {{ article.content }} +
+
+{% endblock %} -- cgit v1.2.3