You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mediarepo/_includes/post_block.html

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>