Files
2026-06-23 14:17:59 +01:00

58 lines
1.8 KiB
HTML

{% if post.id %}
{% assign title = post.title | markdownify | strip_html %}
{% else %}
{% assign title = post.title %}
{% endif %}
{% assign escaped = post.title | uri_escape %}
<article class="entry" id="{{escaped}}">
<header class="entry-header">
<h3 class="entry-title">
<span rel="bookmark">{{ title }}</span>
</h3>
{% if post.image.thumbnail %}
{% assign entry_image = post.image.thumbnail | relative_url | escape %}
<img class="entry-image u-photo" src="{{ entry_image }}" alt="">
{% endif %}
</header>
<footer class="entry-meta">
<ul>
{% if post.date %}
<li><span class="icon">{% include icon-calendar.svg %}</span><time class="entry-time" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %Y" }}</time></li>
{% endif %}
{% if post.languages %}
<li><span class="icon">{% include icon-codepen.svg %}</span><span>{{post.languages}}</span></li>
{% endif %}
{% if post.technologies %}
<li><span class="icon">{% include icon-codepen.svg %}</span><span>{{post.technologies}}</span></li>
{% endif %}
</ul>
</footer>
<div class="entry-excerpt">
{% if post.content %}
<!-- {{ post.excerpt | markdownify }} -->
{{ post.content | markdownify }}
{% if post.github %}
{% include icon-github.html username=post.github label='View on GitHub' class='fillwhite' %}
{% if post.gitea %}
<br>
{% endif %}
{% endif %}
{% if post.gitea %}
{% include icon-gitea.html username=post.gitea label='View on Gitea' class='fillwhite' %}
{% endif %}
{% if post.link %}
<p><a href="{{post.link}}" class="more-link">LINK<span class="icon icon--arrow-right">{% include icon-arrow-right.svg %}</span></a></p>
{% endif %}
{% endif %}
</div>
</article>