aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/article.html
diff options
context:
space:
mode:
authorDaan Debie <debie.daan@gmail.com>2014-01-27 23:38:37 +0100
committerDaan Debie <debie.daan@gmail.com>2014-01-27 23:39:08 +0100
commitfd1a4eaba46c1def74bd6905bce15c61bb326ed5 (patch)
treea768a44479fcec3e04307f4035b30a689ae6d826 /pelican-bootstrap3/templates/article.html
parentc35cbabcaf4807b9474203a2fbd809883b08ad50 (diff)
downloadpelican-themes-fd1a4eaba46c1def74bd6905bce15c61bb326ed5.zip
pelican-themes-fd1a4eaba46c1def74bd6905bce15c61bb326ed5.tar.gz
pelican-themes-fd1a4eaba46c1def74bd6905bce15c61bb326ed5.tar.bz2
Updated pelican-bootstrap to v1.2
Diffstat (limited to 'pelican-bootstrap3/templates/article.html')
-rw-r--r--pelican-bootstrap3/templates/article.html21
1 files changed, 20 insertions, 1 deletions
diff --git a/pelican-bootstrap3/templates/article.html b/pelican-bootstrap3/templates/article.html
index 5b35765..e1f7f00 100644
--- a/pelican-bootstrap3/templates/article.html
+++ b/pelican-bootstrap3/templates/article.html
@@ -1,5 +1,23 @@
{% extends "base.html" %}
-{% block title %}{{ article.title|striptags }}{% endblock %}
+{% block title %}{{ article.title|striptags }} - {{ SITENAME }}{% endblock %}
+
+{% block breadcrumbs %}
+ {% if DISPLAY_BREADCRUMBS %}
+ {% if DISPLAY_CATEGORY_IN_BREADCRUMBS %}
+ <ol class="breadcrumb">
+ <li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li>
+ <li><a href="{{ SITEURL }}/{{ article.category.url }}" title="{{ article.category }}">{{ article.category }}</a></li>
+ <li class="active">{{ article.title }}</li>
+ </ol>
+ {% else %}
+ <ol class="breadcrumb">
+ <li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li>
+ <li class="active">{{ article.title }}</li>
+ </ol>
+ {% endif %}
+ {% endif %}
+{% endblock %}
+
{% block content %}
<section id="content">
<article>
@@ -21,6 +39,7 @@
{{ article.content }}
</div>
<!-- /.entry-content -->
+ {% include 'includes/related-posts.html' %}
{% include 'includes/addthis.html' %}
{% include 'includes/comments.html' %}
</article>