Files
website/_includes/post_block.html
warlordjones 92cf00665a Local-ize the Swiss theme
Ready for bastardisation :D
2019-09-17 22:18:31 +01:00

9 lines
525 B
HTML

<!-- Renders post date, title, and snippet of text. -->
<div class="py-2 mb-2 prose">
<a class="no-underline h5 bold text-accent" title="{{ post.url | prepend: site.baseurl }}" href="{{ post.url | prepend: site.baseurl }}">{{ post.date | date: "%b %-d, %Y" }}</a>
<h2 class="h1 lh-condensed col-9 mt-0">
<a class="link-primary" title="{{ post.url | prepend: site.baseurl }}" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<p>{{ post.content | strip_html | truncatewords:30 }}</p>
</div>