aboutsummaryrefslogtreecommitdiffstats
path: root/nmnlist/templates/article.html
diff options
context:
space:
mode:
authorJustin Mayer <entrop@gmail.com>2013-03-30 11:39:33 -0700
committerJustin Mayer <entrop@gmail.com>2013-03-30 11:39:33 -0700
commitc35a3b96589226c4280b43be781f4a97ab964673 (patch)
treed33883b735f92f53e68b274a5aa95b24ba6170a2 /nmnlist/templates/article.html
parent40cb5eb28b50475c355bbb8de9e535d14afb8e7a (diff)
parentbfa7e41948f91f2f0e300a1bf6539192ab26214b (diff)
downloadpelican-themes-c35a3b96589226c4280b43be781f4a97ab964673.tar.gz
Merge pull request #83 from Tastalian/master
New theme "nmnlist"
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 %}