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:
parent
796af80678
commit
229af091bc
|
@ -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",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<meta name="fwd:footer:vcs-url" content="https://git.fwdekker.com/FWDekker/blog/" />
|
||||
<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/lib/template/2.x.x/template.css" />
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
layout: default
|
||||
---
|
||||
|
||||
{% for post in collections.all | reverse %}
|
||||
{% for post in collections.post | reverse %}
|
||||
<div class="row">
|
||||
<div class="column">
|
||||
{% if post %}
|
||||
<h2 class="inline-header"><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2> 
|
||||
<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.excerpt %}
|
||||
<p>{{ post.data.excerpt }}</p>
|
||||
|
|
|
@ -6,7 +6,7 @@ layout: default
|
|||
<div class="column">
|
||||
<p><a href="{{ '/' | url }}">← home</a></p>
|
||||
|
||||
<h2 class="inline-header">{{ title }}</h2> 
|
||||
<h2 class="inline-header">{{ title }}</h2>
|
||||
{% if date %}<u>{{ date | isoDate }}</u>{% endif %}
|
||||
|
||||
{{ content | safe }}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Mount a Raspi with Ubuntu
|
||||
tags: post
|
||||
layout: post
|
||||
date: 2017-03-01
|
||||
permalink: mount-a-raspi-with-ubuntu/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Creating a Rimworld timelapse
|
||||
tags: post
|
||||
layout: post
|
||||
date: 2021-07-18
|
||||
permalink: creating-a-rimworld-timelapse/
|
||||
|
|
|
@ -13,4 +13,7 @@ ol {
|
|||
|
||||
.inline-header {
|
||||
display: inline-block;
|
||||
|
||||
margin-bottom: 0;
|
||||
padding-right: 19px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue