Initial Build

This commit is contained in:
Alex 2026-06-03 17:18:50 -07:00
parent 71cd3acccd
commit 6c0d9a3f98
140 changed files with 9802 additions and 2403 deletions

View file

@ -0,0 +1,21 @@
{% extends 'base.html.twig' %}
{% block title %}{{post.title}} - Writing | Alex Daniels{% endblock %}
{% block body %}
<article class="post">
<h2 class="title">{{post.title}}</h2>
<div class="meta">
{% if app.user %}
<div class="admin-actions">
<a href="/brain/post/edit/{{post.id}}">Edit</a>
</div>
{% endif %}
<p class="category">Filed under: <a href="/categories/{{urlSafeCategory}}">{{ post.category.getTitle() }}</a></p>
<time class="published">{{ post.date|date('l M d Y') }}</time>
</div>
<div class="text">
{{ post.text|raw }}
</div>
</article>
{% endblock %}

View file

@ -0,0 +1,24 @@
{% extends 'base.html.twig' %}
{% block title %}Writing | Alex Daniels{% 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>
</article>
</li>
{% endfor %}
</ul>
</div>
</section>
{% endblock %}