Add minor QoL improvements

Breaking space after title, no extra margin below titles, post name in page title, fixed excessive gap between posts on main page.
This commit is contained in:
Florine W. Dekker 2021-11-14 11:23:58 +01:00
parent 796af80678
commit 229af091bc
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
7 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "blog", "name": "blog",
"version": "1.2.6", "version": "1.2.7",
"description": "F.W. Dekker's personal blog.", "description": "F.W. Dekker's personal blog.",
"author": "F.W. Dekker", "author": "F.W. Dekker",
"browser": "dist/bundle.js", "browser": "dist/bundle.js",

View File

@ -14,7 +14,7 @@
<meta name="fwd:footer:vcs-url" content="https://git.fwdekker.com/FWDekker/blog/" /> <meta name="fwd:footer:vcs-url" content="https://git.fwdekker.com/FWDekker/blog/" />
<meta name="fwd:footer:version" content="v%%VERSION_NUMBER%%" /> <meta name="fwd:footer:version" content="v%%VERSION_NUMBER%%" />
<title>{% if page.title %}{{ page.title }}{% else %}Blog{% endif %} | FWDekker</title> <title>{% if title %}{{ title }} | {% endif %}Blog | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" /> <link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/2.x.x/template.css" /> <link rel="stylesheet" href="https://static.fwdekker.com/lib/template/2.x.x/template.css" />

View File

@ -2,11 +2,11 @@
layout: default layout: default
--- ---
{% for post in collections.all | reverse %} {% for post in collections.post | reverse %}
<div class="row"> <div class="row">
<div class="column"> <div class="column">
{% if post %} {% if post %}
<h2 class="inline-header"><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2>&emsp; <h2 class="inline-header"><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2>
{% if post.data.date %}<u>{{ post.data.date | isoDate }}</u>{% endif %} {% if post.data.date %}<u>{{ post.data.date | isoDate }}</u>{% endif %}
{% if post.data.excerpt %} {% if post.data.excerpt %}
<p>{{ post.data.excerpt }}</p> <p>{{ post.data.excerpt }}</p>

View File

@ -6,7 +6,7 @@ layout: default
<div class="column"> <div class="column">
<p><a href="{{ '/' | url }}">&larr; home</a></p> <p><a href="{{ '/' | url }}">&larr; home</a></p>
<h2 class="inline-header">{{ title }}</h2>&emsp; <h2 class="inline-header">{{ title }}</h2>
{% if date %}<u>{{ date | isoDate }}</u>{% endif %} {% if date %}<u>{{ date | isoDate }}</u>{% endif %}
{{ content | safe }} {{ content | safe }}

View File

@ -1,5 +1,6 @@
--- ---
title: Mount a Raspi with Ubuntu title: Mount a Raspi with Ubuntu
tags: post
layout: post layout: post
date: 2017-03-01 date: 2017-03-01
permalink: mount-a-raspi-with-ubuntu/ permalink: mount-a-raspi-with-ubuntu/

View File

@ -1,5 +1,6 @@
--- ---
title: Creating a Rimworld timelapse title: Creating a Rimworld timelapse
tags: post
layout: post layout: post
date: 2021-07-18 date: 2021-07-18
permalink: creating-a-rimworld-timelapse/ permalink: creating-a-rimworld-timelapse/

View File

@ -13,4 +13,7 @@ ol {
.inline-header { .inline-header {
display: inline-block; display: inline-block;
margin-bottom: 0;
padding-right: 19px;
} }