aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/article.html
diff options
context:
space:
mode:
authorPeter Fraenkel <pnf@podsnap.com>2014-08-21 12:53:41 -0400
committerPeter Fraenkel <pnf@podsnap.com>2014-08-21 12:53:41 -0400
commitcfa5f40283668540cda45794200809640f251acd (patch)
treecf2bd8ffbea3ed4c01b5690ffd8ae2702976b583 /pelican-bootstrap3/templates/article.html
parent1cd742a84a81f135234be021cf4fe7b8ff2c13ff (diff)
parenta928687830876af8c919606bae47195af65bc82d (diff)
downloadpelican-themes-cfa5f40283668540cda45794200809640f251acd.tar.gz
Merge remote-tracking branch 'upstream/master'
Keep the latex and tag-specific feeds in bootstrap3 Conflicts: pelican-bootstrap3/templates/base.html
Diffstat (limited to 'pelican-bootstrap3/templates/article.html')
-rw-r--r--pelican-bootstrap3/templates/article.html23
1 files changed, 21 insertions, 2 deletions
diff --git a/pelican-bootstrap3/templates/article.html b/pelican-bootstrap3/templates/article.html
index 8588bda..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 }}{% 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>
@@ -7,7 +25,7 @@
<h1>
<a href="{{ SITEURL }}/{{ article.url }}"
rel="bookmark"
- title="Permalink to {{ article.title }}">
+ title="Permalink to {{ article.title|striptags }}">
{{ article.title }}
</a>
</h1>
@@ -21,6 +39,7 @@
{{ article.content }}
</div>
<!-- /.entry-content -->
+ {% include 'includes/related-posts.html' %}
{% include 'includes/addthis.html' %}
{% include 'includes/comments.html' %}
</article>