diff options
author | Peter Fraenkel <pnf@podsnap.com> | 2014-08-21 12:53:41 -0400 |
---|---|---|
committer | Peter Fraenkel <pnf@podsnap.com> | 2014-08-21 12:53:41 -0400 |
commit | cfa5f40283668540cda45794200809640f251acd (patch) | |
tree | cf2bd8ffbea3ed4c01b5690ffd8ae2702976b583 /pelican-bootstrap3/templates/article.html | |
parent | 1cd742a84a81f135234be021cf4fe7b8ff2c13ff (diff) | |
parent | a928687830876af8c919606bae47195af65bc82d (diff) | |
download | pelican-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.html | 23 |
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> |