aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-striped-html5up/templates/article.html
diff options
context:
space:
mode:
authorFish <aroaminggeek@users.noreply.github.com>2017-03-25 16:38:01 -0600
committerGitHub <noreply@github.com>2017-03-25 16:38:01 -0600
commit36c2ef5937c24f9f276f75ac439ec2670f33e5b3 (patch)
tree3a5df2b2bbc95fefc847a2c58a2ec862188e2cd3 /pelican-striped-html5up/templates/article.html
parentd7779b637b990aa70266d55faf842fbb4c837715 (diff)
downloadpelican-themes-36c2ef5937c24f9f276f75ac439ec2670f33e5b3.tar.gz
pelican-striped-html5up added
for pull request to origin
Diffstat (limited to 'pelican-striped-html5up/templates/article.html')
-rw-r--r--pelican-striped-html5up/templates/article.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/pelican-striped-html5up/templates/article.html b/pelican-striped-html5up/templates/article.html
new file mode 100644
index 0000000..d405c65
--- /dev/null
+++ b/pelican-striped-html5up/templates/article.html
@@ -0,0 +1,49 @@
+{% extends "base.html" %}
+{% block head %}
+ {{ super() }}
+ {% if article.description %}
+ <meta name="description" content="{{article.summary}}" />
+ {% endif %}
+
+ {% for tag in article.tags %}
+ <meta name="tags" content="{{tag}}" />
+ {% endfor %}
+
+{% endblock %}
+
+{% block content %}
+<div id="content">
+<div class="inner">
+ <article class="box post post-excerpt">
+ <header>
+ <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
+ <p>{{article.headline}}</p>
+ </header>
+ <div class="info">
+ <span class="date" datetime="{{ article.date.isoformat() }}"><span class="month">{{ article.date | strftime('%b') }}</span> <span class="day">{{ article.date | strftime('%d') }}</span> <span class="month"> {{ article.date | strftime('%Y') }}</span></span>
+ <ul class="stats">
+ <li><a href="mailto:?Subject={{article.title}}&Body=I%20saw%20this%20and%20thought%20of%20you!%20 {{ SITEURL }}/{{ article.url }}" class="icon fa-envelope">&nbsp;</a></li>
+ <li><a href="http://reddit.com/submit?url={{ SITEURL }}/{{ article.url }}&title=#{{article.title}}"" class="icon fa-reddit">&nbsp;</a></li>
+ <li><a href="https://twitter.com/share?url={{ SITEURL }}/{{ article.url }}&text=&hashtags=GnotC" class="icon fa-twitter">&nbsp;</a></li>
+ <li><a href="https://www.facebook.com/sharer.php?u={{ SITEURL }}/{{ article.url }}" class="icon fa-facebook">&nbsp;</a></li>
+ </ul>
+ </div><!-- /.post-info -->
+ <div class="entry-content"> &nbsp; </div><!-- /.entry-content -->
+ </article>
+ {{ article.content }}
+ </div><!-- /.entry-content -->
+ <!-- Pagination -->
+ <div class="pagination">
+ {% if article.prev_article %}
+ <a class="button previous" href="{{ SITEURL }}/{{ article.prev_article.url}}">
+ {{ article.prev_article.title }}
+ </a>
+ {% endif %}
+ {% if article.next_article %}
+ <a href="{{ SITEURL }}/{{ article.next_article.url}}" class="button next">{{ article.next_article.title }}</a>
+ {% endif %}
+ </div>
+
+</div>
+</div>
+{% endblock %}