aboutsummaryrefslogtreecommitdiffstats
path: root/coding-now/templates/article.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/article.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/article.html')
-rw-r--r--coding-now/templates/article.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/coding-now/templates/article.html b/coding-now/templates/article.html
new file mode 100644
index 0000000..909ed24
--- /dev/null
+++ b/coding-now/templates/article.html
@@ -0,0 +1,41 @@
+{% extends 'base.html' %}
+
+{% block title %} {{ article.title|striptags }}{% endblock title %}
+
+{% block container %}
+ <section id="content">
+ <article>
+ <p class="article-date">
+ {{ article.date }}
+ </p>
+ <header class="header">
+ <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title }}">
+ <h2 class="blogpost-title">
+ {{ article.title }}
+ </h2>
+ </a>
+ </header>
+ <div>
+ {{ article.content }}
+ </div>
+ <div class="article-info">
+ <hr/>
+ <div class="article-info">
+ <span><b>Category: </b><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></span>
+ <br/>
+ <span><b>Publication Date: </b> {{ article.locale_date }} </span>
+ <br/>
+ {% for tag in article.tags %}
+ <a class="label-default" href="{{ SITEURL }}/{{ tag.url }}">{{ tag.name }}</a>
+ {% endfor %}
+ <br/>
+ </div>
+ </div>
+ </article>
+ <br/><br/><br/>
+ </section>
+{% endblock container %}
+
+{% block footer %}
+ {% include '_includes/footer.html' %}
+{% endblock %} \ No newline at end of file