aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/templates/article.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-12-05 15:13:27 -0800
committerAlexis Metaireau <alexis@notmyidea.org>2011-12-05 15:13:27 -0800
commit24394e5871dd901cd2001551984df5a3d0f8c867 (patch)
tree7b06f08893121f5efefa875dc40b4064e8317bdd /bootstrap/templates/article.html
parent28bc815799239f17f896b3b64929a0356fd090db (diff)
parent13496f38dfd148556524aa1805107aa3e6c93548 (diff)
downloadpelican-themes-24394e5871dd901cd2001551984df5a3d0f8c867.tar.gz
Merge pull request #7 from mapio/master
I've added a new theme based on Bootstrap (from Twitter)
Diffstat (limited to 'bootstrap/templates/article.html')
-rw-r--r--bootstrap/templates/article.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap/templates/article.html b/bootstrap/templates/article.html
new file mode 100644
index 0000000..7f86290
--- /dev/null
+++ b/bootstrap/templates/article.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+{% block indextitle %}{% endblock %}
+{% block content %}
+ <div class='article'>
+ <div class="page-header"><h1>{{ article.title }}</h1></div>
+ <div class="well small">{% include "metadata.html" %}</div>
+ <div>{{ article.content }}</div>
+ <div>
+ <h2>Comments</h2>
+ {% include "twitter.html" %}
+ {% if FACEBOOK_APPID %}<div id="disqus_thread"></div>{% endif %}
+ {% if FACEBOOK_APPID %}<div class="fb-comments" data-href="{{ FQ_SITEURL }}/{{ article.url }}" data-num-posts="10" data-width="760"></div>{% endif %}
+ <div>
+ </div>
+{% endblock %}