35 lines
1.9 KiB
Twig
35 lines
1.9 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Writing | Alex Daniels{% endblock %}
|
|
|
|
{% block metatitle %}Writing | Alex Daniels {% endblock %}
|
|
{% block ogtitle %}Writing | Alex Daniels {% endblock %}
|
|
{% block twittertitle %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
|
|
{% block metadescription %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
|
|
{% block ogdescription %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
|
|
{% block twitterdescription %}A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.{% endblock %}
|
|
|
|
{% block ogurl %}https://alexdaniels.me/words{% endblock %}
|
|
{% block twitterurl %}https://alexdaniels.me/words{% endblock %}
|
|
|
|
{% block body %}
|
|
<section class="posts">
|
|
<h2>Writing</h2>
|
|
<p class="intro">A truly random smattering of thoughts and feelings. Things may not always be relevant, but they will always be irreverant.</p>
|
|
<div class="list">
|
|
<h3>Recent</h3>
|
|
<ul>
|
|
{% for post in posts %}
|
|
<li>
|
|
<article class="post">
|
|
<a href="/categories/{{post['urlSafeCategory']}}" class="category">{{ post['category'] }}</a>
|
|
<a href="/words/{{post['url']}}"><h4 class="title">{{post['title'] }}</h4></a>
|
|
<time class="published">{{post['date']|date('l M d Y') }}</time>
|
|
<div class="description">{{ post['description']|raw }}</div>
|
|
</article>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|