all repos — website @ 5d1e2d2018aba1eef5820a285f7e9004070972de

My website

homepage: only show posts under "recent posts"

Alan Pearce
commit

5d1e2d2018aba1eef5820a285f7e9004070972de

parent

de9f90503fcd9d1d7af5f1ce8a09ff22aea0e743

2 files changed, 1 insertion(+), 2 deletions(-)

changed files
M content/_index.mdcontent/_index.md
@@ -1,7 +1,5 @@
+++ title = "Home" -sort_by = "date" -paginate_reversed = true +++ <p class="p-note note"> I work as a Full-stack Developer in Berlin. I occasionally write about Emacs and
M templates/index.htmltemplates/index.html
@@ -11,6 +11,7 @@ </div>
<section> <h2>Latest Posts</h2> <ul class="h-feed"> + {%- set section = get_section(path="post/_index.md") %} {%- for page in section.pages | slice(end=3) %} <li class="h-entry"> <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format=config.extra.date_format) }}</time>