diff options
author | Karl Hallsby <karl@hallsby.com> | 2021-10-03 00:35:46 -0500 |
---|---|---|
committer | Karl Hallsby <karl@hallsby.com> | 2021-10-03 02:16:55 -0500 |
commit | e2c06d2681e18946ab6c3e3e6075aed92a4d13be (patch) | |
tree | b30dce94387f4717394277932f691519e0281c44 /blog | |
parent | a10ad0a99ba6e44a35253c3bcaff80c90e99348e (diff) |
Change to al-folio theme
Theme at: https://github.com/alshedivat/al-folio
Diffstat (limited to 'blog')
-rw-r--r-- | blog/index.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000..7ccd524 --- /dev/null +++ b/blog/index.html @@ -0,0 +1,36 @@ +--- +layout: default +title: blog +pagination: + enabled: true + collection: posts + permalink: /page/:num/ + per_page: 3 + sort_field: date + sort_reverse: true + trail: + before: 1 # The number of links before the current page + after: 3 # The number of links after the current page +--- + +<div class="post"> + + <div class="header-bar"> + <h1>{{ site.blog_name }}</h1> + <h2>{{ site.blog_description }}</h2> + </div> + + + <ul class="post-list"> + {% for post in paginator.posts %} + <li> + <h3><a class="post-title" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3> + <p class="post-meta">{{ post.date | date: '%B %-d, %Y' }}</p> + <p>{{ post.description }}</p> + </li> + {% endfor %} + </ul> + + {% include pagination.html %} + +</div> |