aboutsummaryrefslogtreecommitdiffstats
path: root/nmnlist/templates/article.html
diff options
context:
space:
mode:
Diffstat (limited to 'nmnlist/templates/article.html')
-rw-r--r--nmnlist/templates/article.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/nmnlist/templates/article.html b/nmnlist/templates/article.html
new file mode 100644
index 0000000..58f8dd2
--- /dev/null
+++ b/nmnlist/templates/article.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+{% block title %}{{ super() }} : {{ article.title }}{% endblock %}
+{% block content %}
+<header>
+ <h1><a href="{{ SITEURL }}/{{ article.url }}" id="page-title">{{ article.title }}</a></h1>
+ <span id="sitename"><a href="{{ SITEURL }}" id="site-title">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> &sdot;</span>
+ {% if not HIDE_DATE %}<time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>{% endif %}
+</header>
+<article>
+ {{ article.content }}
+</article>
+{% endblock %}