aboutsummaryrefslogtreecommitdiffstats
path: root/bricks/templates/article.html
diff options
context:
space:
mode:
authormaxlambertini <m.lambertini@gmail.com>2015-10-26 15:24:34 +0100
committerJustin Mayer <entroP@gmail.com>2015-10-27 13:10:27 -0700
commit9c87d63f70970aee390ad0c8b2623b27b4d94f15 (patch)
tree2c43a8817de6c7765b3fdb61d437cb29abc17791 /bricks/templates/article.html
parent10f51d8bb763fc6edd2ecd32c695d3529b01c93e (diff)
downloadpelican-themes-9c87d63f70970aee390ad0c8b2623b27b4d94f15.tar.gz
Add Bricks theme
Diffstat (limited to 'bricks/templates/article.html')
-rw-r--r--bricks/templates/article.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/bricks/templates/article.html b/bricks/templates/article.html
new file mode 100644
index 0000000..85f4fcc
--- /dev/null
+++ b/bricks/templates/article.html
@@ -0,0 +1,45 @@
+{% extends "base.html" %}
+{% block title %}{{ article.title }} - {{SITENAME}}{% endblock title %}
+{% block pageheader %}
+<div class="hp-header-inner">
+ <div class="page-header">
+ <div class="content-header">
+ <div id="title-block">
+ <h1> <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
+ title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
+ </div>
+ </div>
+ </div>
+</div>
+{% endblock %}
+{% block content %}
+<div class="content-article">
+ <header class="header-article">
+ <div class="read-more">Posted on {{ article.locale_date}}</div>
+
+ </header>
+ <section class='article'>
+
+ <div class="entry-summary">
+ {{ article.summary }}
+ </div>
+
+ <div class="entry-content">
+ {{ article.content }}
+ </div>
+ </section>
+ <footer class="footer-article">
+ <div class="tags-and-categories">Filed under <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
+ | Tagged: {% if article.tags %}{% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }} </a>{% endfor %}{% endif %}
+
+ | <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
+ title="Permalink to {{ article.title|striptags }}">Permalink</a>
+ </div>
+ <!-- metaldata
+ {% for m in article.Metaldata %}
+ Rock on! {{ m }}
+ {% endfor %}
+ -->
+ </footer>
+</div>
+{% endblock %}