Local-ize the Swiss theme
Ready for bastardisation :D
This commit is contained in:
8
_includes/post_block.html
Normal file
8
_includes/post_block.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<!-- 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>
|
||||
Reference in New Issue
Block a user