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/index.html | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 theme/bulma/templates/index.html (limited to 'theme/bulma/templates/index.html') diff --git a/theme/bulma/templates/index.html b/theme/bulma/templates/index.html new file mode 100644 index 0000000..36cb150 --- /dev/null +++ b/theme/bulma/templates/index.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} + +{% block content %} + +{% for article in articles_page.object_list %} +
+
+

{{ article.title }}

+

+ {{ _('Posted on %(when)s in %(category)s', + when=article.locale_date, + category='%s'|format(SITEURL, article.category.url, article.category)|safe) }} + + {% if article.tags and not HOME_HIDE_TAGS %} + • {{ _('Tagged with') }} + {% for tag in article.tags %} + {{ tag }}{% if not loop.last %},{% endif %} + {% endfor %} + {% endif %} + + {% if PLUGINS and 'post_stats' in PLUGINS %} + • {{ _('%(minutes)s min read', minutes=article.stats['read_mins']) }} + {% endif %} +

+
+
+ {% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %} + {% if article.featured_image %} + + {% endif %} +
{{ article.summary }}
+ {% if article.content != article.summary %} +
+ + {{ _('Continue reading') }} + + {% endif %} + {% else %} + {{ article.content }} + {% endif %} +
+ {% if not loop.last %} +
+ {% endif %} +
+{% endfor %} + +{% include "partial/pagination.html" %} +{% endblock %} -- cgit v1.2.3