feat: initial commit
This commit is contained in:
commit
e214116e40
253 changed files with 17406 additions and 0 deletions
34
src/pages/sections/posts/index.html
Normal file
34
src/pages/sections/posts/index.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
title: All posts
|
||||
pagination:
|
||||
data: posts.all
|
||||
size: 15
|
||||
permalink: "/posts/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}index.html"
|
||||
---
|
||||
{% if pagination.pageNumber == 0 %}
|
||||
<h2 class="page-title">Posts</h2>
|
||||
<p>These are all of my blog posts on this site (I like some more than others).</p>
|
||||
<p>I tend to write about whatever strikes me, with a focus on development, technology, automation or issues I run into with these things. This is all typically light on editing with and heavy on spur of the moment thoughts.</p>
|
||||
{% render "blocks/banners/rss.liquid",
|
||||
url: "/feeds/posts.xml",
|
||||
text: "Subscribe to my posts feed or follow along on this page"
|
||||
%}
|
||||
<hr />
|
||||
{% endif %}
|
||||
{% for post in pagination.items %}
|
||||
<article>
|
||||
<aside>
|
||||
{%- if post.featured -%}{% tablericon "star" %}{%- endif -%}
|
||||
<time datetime="{{ post.date }}">
|
||||
{{ post.date | date: "%B %e, %Y" }}
|
||||
</time>
|
||||
</aside>
|
||||
<h3>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
</h3>
|
||||
<p>{{ post.description | markdown }}</p>
|
||||
</article>
|
||||
{% endfor %}
|
||||
{% render "nav/paginator.liquid",
|
||||
pagination:pagination
|
||||
%}
|
Loading…
Add table
Add a link
Reference in a new issue