You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {% extends "base.j2" %}
-
- {% block main -%}
- <article class="post">
- <nav class="post_nav">
- <a class="backlink" href="/">Back to list</a>
- <a class="next{{' disabled' if not resource.next_by_time }}"
- title="{{ resource.next_by_time.meta.title }}"
- {% if resource.next_by_time %}
- href="{{ content_url(resource.next_by_time.url) }}"{% endif %}>
- Previous</a>
-
- <a class="prev{{' disabled' if not resource.prev_by_time }}"
- title="{{ resource.prev_by_time.meta.title }}"
- {% if resource.prev_by_time %}
- href="{{ content_url(resource.prev_by_time.url) }}"{% endif %}>
- Next</a>
-
- <br>
- <div id="twitter_share">
- <a href="https://twitter.com/share"
- class="twitter-share-button"
- data-count="vertical"
- data-via="{{ tweet_via }}">Tweet</a>
- <script type="text/javascript"
- src="https://platform.twitter.com/widgets.js"></script>
- </div>
- </nav>
- <h1>{{ resource.meta.title }}</h1>
- <time datetime="{{ resource.meta.created.strftime('%Y-%m-%d') }}">
- Posted: {{ resource.meta.created.strftime('%a, %d %b %Y') }}
- </time>
-
- {% if resource.meta.tags %}
- <ul class="tags clear">
- {% for tag in resource.meta.tags %}
- <li>
- <a class="small" href="{{ content_url('blog/tags/'~tag~'.html') }}">
- {{ tag }}
- </a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- <div class="clear"/>
- <br/>
- {% filter markdown|typogrify -%}
- {% mark post -%}
- {% block post -%}{%- endblock %}
- {%- endmark %}
- {%- endfilter %}
- </article>
-
- {%- endblock %}
|