dnd/deadsands/deadsands-theme/templates/article.html

25 lines
1.0 KiB
HTML
Raw Normal View History

2022-07-26 17:22:04 -07:00
{% extends "base.html" %}
2022-08-04 21:34:47 -07:00
{% import "macros.html" as macros %}
2022-07-26 17:22:04 -07:00
{% block title %}{{ article.title|capitalize }} - {{SITENAME}}{% endblock title %}
2022-08-04 21:34:47 -07:00
{% block key_image %}{{ macros.key_image(article) }}{% endblock key_image %}
2022-07-26 17:22:04 -07:00
{% block content %}
2022-08-07 12:14:53 -07:00
{% if not self.is_dm() and article.category == 'dm' %}
{% else %}
2022-07-26 17:22:04 -07:00
<section id="content">
<div class='box curled'>
<h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
<hr>
<div class='byline'>
<span class='date'>{{ article.locale_date }}</span>&nbsp;{% if article.tags %}{% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% endfor %}{% endif %}
</div>
{% if article.description %}
<div class='scrap'><div class='note'>{{ article.description }}</div></div>
{% endif %}
{{ article.content }}
<hr>
{% include "bottom-nav.html" %}
</div>
2022-08-04 21:34:47 -07:00
</section>
2022-08-07 12:14:53 -07:00
{% endif %}
2022-08-04 21:34:47 -07:00
{% endblock content %}