diff --git a/package.json b/package.json index 4a60dfe..9c2f893 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blog", - "version": "1.2.6", + "version": "1.2.7", "description": "F.W. Dekker's personal blog.", "author": "F.W. Dekker", "browser": "dist/bundle.js", diff --git a/src/main/_includes/default.njk b/src/main/_includes/default.njk index 04030b3..c3548cf 100644 --- a/src/main/_includes/default.njk +++ b/src/main/_includes/default.njk @@ -14,7 +14,7 @@ - {% if page.title %}{{ page.title }}{% else %}Blog{% endif %} | FWDekker + {% if title %}{{ title }} | {% endif %}Blog | FWDekker diff --git a/src/main/_includes/home.njk b/src/main/_includes/home.njk index 00d3bd9..baf1058 100644 --- a/src/main/_includes/home.njk +++ b/src/main/_includes/home.njk @@ -2,11 +2,11 @@ layout: default --- -{% for post in collections.all | reverse %} +{% for post in collections.post | reverse %}
{% if post %} -

{{ post.data.title }}

  +

{{ post.data.title }}

{% if post.data.date %}{{ post.data.date | isoDate }}{% endif %} {% if post.data.excerpt %}

{{ post.data.excerpt }}

diff --git a/src/main/_includes/post.njk b/src/main/_includes/post.njk index f78e487..66bb882 100644 --- a/src/main/_includes/post.njk +++ b/src/main/_includes/post.njk @@ -6,7 +6,7 @@ layout: default

← home

-

{{ title }}

  +

{{ title }}

{% if date %}{{ date | isoDate }}{% endif %} {{ content | safe }} diff --git a/src/main/_posts/2017-03-01-raspi.md b/src/main/_posts/2017-03-01-raspi.md index d3d6581..d8ba743 100644 --- a/src/main/_posts/2017-03-01-raspi.md +++ b/src/main/_posts/2017-03-01-raspi.md @@ -1,5 +1,6 @@ --- title: Mount a Raspi with Ubuntu +tags: post layout: post date: 2017-03-01 permalink: mount-a-raspi-with-ubuntu/ diff --git a/src/main/_posts/2021-07-18-rimworld-timelapse.md b/src/main/_posts/2021-07-18-rimworld-timelapse.md index bf5b1ac..3c3eda0 100644 --- a/src/main/_posts/2021-07-18-rimworld-timelapse.md +++ b/src/main/_posts/2021-07-18-rimworld-timelapse.md @@ -1,5 +1,6 @@ --- title: Creating a Rimworld timelapse +tags: post layout: post date: 2021-07-18 permalink: creating-a-rimworld-timelapse/ diff --git a/src/main/css/main.css b/src/main/css/main.css index 1b520aa..1a1c7bf 100644 --- a/src/main/css/main.css +++ b/src/main/css/main.css @@ -13,4 +13,7 @@ ol { .inline-header { display: inline-block; + + margin-bottom: 0; + padding-right: 19px; }