{% extends 'app' %}
{% block body %}
{% include 'layout/navbar' %}
<div class="mt-10 container">
<main id="main-content" class="flex-1 wrap {{ page.layout == 'front' ? 'is-wide' : '' }}">
{% if site.messages %}
{% for message in site.messages if page.url matches message.paths[0] %}
<div class="mb-8 px-5 py-3 bg-yellow-100 border-b-2 border-yellow-300">
{{ message.text|markdown }}
</div>
{% endfor %}
{% endif %}
{% block page_title_wrapper %}
<h1 class="leading-tight mb-4">
{% block page_title %}{{ page.title }}{% endblock %}
</h1>
{% endblock %}
{% block content_wrapper %}
{% block content %}{% endblock %}
</main>
{% include 'layout/footer' %}
{% block scripts %}
{% if page.has_tweets or page.type == 'tweet' %}
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script>hljs.initHighlightingOnLoad();</script>