jorge/commands/initfiles/includes/post_preview.html
Facundo Olano 56a92695f5
Init command and default assets (#5)
* cleanup command arguments

* add base init files

* implement init command

* add some layouts

* add index

* add blog index

* post preview

* honor config in file server

* sample post

* sample markdown

* add css style to initfiles

* more style tweaks

* more style tweaks
2024-02-17 17:09:19 -03:00

14 lines
550 B
HTML

<article class="post">
<span class="date">{{ post.date | date: "%Y-%m-%d" }}</span>
<div>
<a class="title" href="{{ post.external | default:post.url }}">{{ post.title }}</a>
<small>
{% if post.favorite %} <a href="/blog/tags#⭐" style="text-decoration:none"></a> {% endif %}
<span class="tags hidden-mobile">
{% for tag in post.tags %}
<a href="/blog/tags#{{tag}}">#{{tag}}</a>
{% endfor %}
</span>
</small>
</div>
</article>