mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-24 03:52:15 +00:00
- new paper/ink palette with single red accent, replacing catppuccin - self-hosted IBM Plex Serif (display) + Source Serif 4 (body), drop Outfit - rebuilt homepage masthead, numbered post index, navbar with active states - switch syntax highlighting + utterances to gruvbox, synced via postMessage - remove terminal/404 easter egg chrome, clean up remaining inline styles - fix stray syntax.css link causing a 404
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<article class="feed-item card hover-scale">
|
|
<span class="item-index">{% if loop.index < 10 %}0{{ loop.index }}{% else %}{{ loop.index }}{% endif %}</span>
|
|
|
|
<div class="item-body">
|
|
<h2 class="item-title">
|
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
|
</h2>
|
|
|
|
<div class="item-meta">
|
|
<span>{{ page.date | date(format="%Y-%m-%d") }}</span>
|
|
{% if page.reading_time %}
|
|
<span class="item-meta-sep">·</span>
|
|
<span>{{ page.reading_time }} min read</span>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="item-snippet">
|
|
{% if page.description %}
|
|
<p>{{ page.description }}</p>
|
|
{% else %}
|
|
<p>{{ page.content | striptags | truncate(length=120) | safe }}</p>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="item-footer">
|
|
<a href="{{ page.permalink }}" class="item-readmore">Read more<span class="readmore-arrow">→</span></a>
|
|
|
|
{% if page.taxonomies.tags %}
|
|
<div class="item-tags">
|
|
{% for tag in page.taxonomies.tags %}
|
|
<a href="{{ get_taxonomy_url(kind="tags", name=tag) }}" class="tag">{{ tag }}</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</article>
|