blog/themes/waterspill-en/templates/index.html

17 lines
802 B
HTML
Raw Normal View History

2023-07-20 19:34:24 +00:00
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block content %}
2023-07-20 20:09:02 +00:00
{% if articles %}
{% for article in articles %}
2023-07-21 03:18:29 +00:00
{% if loop.index <= 1 %}
2023-07-20 19:34:24 +00:00
<div class="blogItem">
2023-07-20 20:09:02 +00:00
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<h3>{{ article.locale_date }}</h3>
{{ article.content }}
<h3 class="blogMeta">{% if not SUPPRESS_ITEM_CATEGORIES %}Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %} | {% if article.tags %} Tags: {% for tag in article.tags %} <span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% if not loop.last %} / {% endif %} </span> {% endfor %}</h3>{% endif %}</div>
{% endif %}
{% endfor %}
2023-07-20 19:34:24 +00:00
{% endif %}
{% endblock content %}
2023-07-21 03:18:29 +00:00