aboutsummaryrefslogtreecommitdiffstats
path: root/coding-now/templates/page.html
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2016-12-31 13:05:36 -0800
committerJustin Mayer <entroP@gmail.com>2016-12-31 13:05:36 -0800
commit879826b0e120fbe7f0e619faec13a9f35dce1ee3 (patch)
tree5efa45af89b15b754044b80b1e66aab082694711 /coding-now/templates/page.html
parentab70c6ca340f768fa29ea2dec8a29b4a07adef39 (diff)
downloadpelican-themes-879826b0e120fbe7f0e619faec13a9f35dce1ee3.tar.gz
Restore "coding-now" theme; remove spurious submodule
This reverts commit 20ddb53d20c3e56dacc7fb488746156749391211.
Diffstat (limited to 'coding-now/templates/page.html')
-rw-r--r--coding-now/templates/page.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/coding-now/templates/page.html b/coding-now/templates/page.html
new file mode 100644
index 0000000..6a159e5
--- /dev/null
+++ b/coding-now/templates/page.html
@@ -0,0 +1,37 @@
+{% extends 'base.html' %}
+
+{% block title %}{{ SITENAME }} - {{ page.title }} {% endblock %}
+
+{% block container %}
+ {% if page.title == 'blog' %}
+ <section id="content">
+ <header class="header">
+ <h2 class="blogpost-title">Articles in {{ AUTHOR }}'s blog</h2>
+ </header>
+ <dl>
+ {% for category,articles in categories %}
+ <h3>
+ {{ category }}
+ </h3>
+ {% for article in articles %}
+ <dd>
+ <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
+ </dd>
+ {% endfor %}
+ {% endfor %}
+ </dl>
+ </section>
+ <br/><br/><br/>
+ {% else %}
+ <section id="content">
+ <header class="header">
+ <h2 class="blogpost-title">{{ page.title }}</h2>
+ </header>
+ {{ page.content }}
+ </section>
+ {% endif %}
+{% endblock %}
+
+{% block footer %}
+ {% include '_includes/footer.html' %}
+{% endblock %}