This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_layouts/post.html.twig
2018-05-29 08:28:27 +02:00

34 lines
1.1 KiB
Twig
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends 'default' %}
{% block content_wrapper %}
{% include 'post/header' %}
{% include 'post/intro-image' %}
<div class="markdown mb-6">
{% set limit = 'now'|date_modify('-12 months')|date('U') %}
{% if page.date|date('U') < limit %}
<div class="border-2 border-blue p-4 mb-4">
<p class="mb-0">
<span class="font-bold">Warning:</span> This post is over a year old. I don't always update old posts with new information, so some of this information may be out of date.
</p>
</div>
{% endif %}
{{ page.summary|markdown }}
{% block excerpt %}{% endblock %}
{% block content %}{% endblock %}
</div>
<div class="mb-4 italic text-grey-dark">
<p>Questions? Comments? Im <a href="https://twitter.com/{{ site.twitter.name }}" class="link">@{{ site.twitter.name }}</a> on Twitter.</p>
</div>
{% include 'post/tags' %}
{% include 'post/pager' %}
{% include 'post/about-author' %}
{% endblock %}
{% block scripts %}
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}