123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {% extends "base.html" %}
- {% block title %}{{ article.title|striptags }} - {{ SITENAME }}{% endblock %}
- {% block html_lang %}{{ article.lang }}{% endblock %}
- {% block meta %}
- {% if article.author %}
- <meta name="author" content="{{ article.author }}" />
- {% else %}
- <meta name="author" content="{{ AUTHOR }}" />
- {% endif %}
- {% if article.tags %}
- <meta name="keywords" content="{{ article.tags|join(',')|striptags }}" />
- {% endif %}
- {% if article.summary %}
- <meta name="description" content="{{ article.summary|striptags|escape }}" />
- {% endif %}
- {% endblock %}
- {% block canonical_rel %}
- <link rel="canonical" href="{{ SITEURL }}/{{ article.url }}">
- {% 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>
- <header class="page-header">
- <h1>
- <a href="{{ SITEURL }}/{{ article.url }}"
- rel="bookmark"
- title="Permalink to {{ article.title|striptags }}">
- {{ article.title }}
- </a>
- </h1>
- </header>
- <div class="entry-content">
- <div class="panel">
- <div class="panel-body">
- {% include "includes/article_info.html" %}
- </div>
- </div>
- {{ article.content }}
- </div>
- <!-- /.entry-content -->
- {% include 'includes/related-posts.html' %}
- {% include 'includes/series.html' %}
- {% include 'includes/comments.html' %}
- </article>
- </section>
- {% endblock %}
- {% block scripts %}
- {% endblock %}
|