123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- {% extends 'base.html' %}
- {% block title %}
- {{ page.title|striptags|e }} {%if page.subtitle %} - {{ page.subtitle|striptags|e }} {% endif %} · {{ super() }}
- {% endblock title %}
- {% block head_description %}
- {% if page.summary %}
- {{ page.summary|striptags|e }}
- {% endif %}
- {% endblock head_description %}
- {% block meta_tags_in_head %}
- {{ super() }}
- {% if page.keywords %}
- <meta name="keywords" content="{{ page.keywords }}" />
- {% endif %}
- {% from '_includes/smo_metadata.html' import smo_metadata with context %}
- {{ smo_metadata(page) }}
- {% endblock meta_tags_in_head %}
- {% block content %}
- <article>
- <div class="row">
- <header class="page-header col-md-10 col-md-offset-2">
- <h1><a href="{{ SITEURL }}/{{ page.url }}"> {{ page.title }} {%if page.subtitle %} <small> {{ page.subtitle }} </small> {% endif %} </a></h1>
- </header>
- </div>
- <div class="row">
- {% if page.toc %}
- <div class="col-md-2 table-of-content">
- <nav>
- <h4>Contents</h4>
- {{ page.toc }}
- </nav>
- </div>
- <div class="col-md-8 article-content">
- {% else %}
- <div class="col-md-8 col-md-offset-2 article-content">
- {% endif %}
- {{ page.content }}
- {% from '_includes/comments.html' import comments with context %}
- {{ comments(page) }}
- </div>
- <section>
- <div class="col-md-2" style="float:right;font-size:0.9em;">
- {% include '_includes/social_links.html' %}
- {% include '_includes/mailchimp.html' %}
- </div>
- </section>
- </div>
- </article>
- {% endblock content %}
- {% block script %}
- {{ super() }}
- {% from '_includes/comments.html' import comments_script with context %}
- {{ comments_script(page) }}
- {% endblock script %}
|