removed terminal stuff

This commit is contained in:
Priec
2026-05-19 19:30:54 +02:00
parent f405ddab65
commit aa6aea613d
8 changed files with 283 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
{% block crumb %}{% endblock crumb %}
{% block content %}
{% if logged_in_admin %}
<header class="term-cmd">
<div>
<p class="term-cmd-line">
@@ -59,4 +60,51 @@
</div>
{% endif %}
</section>
{% else %}
<header class="term-cmd">
<div>
<h1 class="term-title">home</h1>
<p class="term-sub">latest news and updates.</p>
</div>
<div class="term-cmd-actions">
<a href="/blog" class="btn btn-outline btn-sm">all posts</a>
</div>
</header>
<div class="term-screen mb-6">
<p class="line">guitar player - original songs, albums and notes</p>
<p class="line out">about/ blog/ audio/ songs/</p>
</div>
<section>
<p class="term-cmd-line mb-6"><span class="t-dim"># </span>recent posts <span class="t-dim">({{ articles | length }})</span></p>
{% if articles | length > 0 %}
<div class="term-stack">
{% for article in articles %}
<article class="card">
<div class="term-head">
<span class="term-head-name">~/blog/{{ article.slug }}.txt</span>
<span class="term-head-meta term-tag">post</span>
</div>
<div class="card-body">
<h2 class="card-title text-base">
<a href="/blog/{{ article.slug }}">{{ article.title }}</a>
</h2>
{% if article.excerpt %}
<p class="text-sm opacity-80">{{ article.excerpt }}</p>
{% endif %}
<div class="pt-2">
<a href="/blog/{{ article.slug }}" class="btn btn-primary btn-sm">cat</a>
</div>
</div>
</article>
{% endfor %}
</div>
{% else %}
<div class="term-empty">
<p class="font-medium">no published posts yet</p>
</div>
{% endif %}
</section>
{% endif %}
{% endblock content %}