From cc7cd6d66b6ccac3fb77374fa8b8973ae153bea0 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Duje=20Mihanovi=C4=87?= <duje.mihanovic@skole.hr>
Date: Wed, 21 Aug 2024 12:27:03 +0200
Subject: [PATCH] Drop custom summaries and rework post list

---
 content/posts/dropping-gitea/index.md       | 1 -
 content/posts/first-post/index.md           | 1 -
 content/posts/freshrss/index.md             | 1 -
 content/posts/matrix-delegation/index.md    | 1 -
 content/posts/projects/index.md             | 1 -
 content/posts/rss-updates/index.md          | 1 -
 content/posts/site-is-now-on-gitea/index.md | 1 -
 content/posts/updating-dendrite/index.md    | 1 -
 content/posts/windows-backup/index.md       | 1 -
 layouts/posts/list.html                     | 6 +++++-
 10 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/content/posts/dropping-gitea/index.md b/content/posts/dropping-gitea/index.md
index 0702e0e..7543a02 100644
--- a/content/posts/dropping-gitea/index.md
+++ b/content/posts/dropping-gitea/index.md
@@ -1,7 +1,6 @@
 ---
 title: "Dropping Gitea"
 date: 2023-08-18T22:44:54+02:00
-summary: I have dropped Gitea for GitWeb.
 ---
 I have decided to drop Gitea as it's only really useful when you have multiple
 people collaborating on a project and is just bloatware otherwise. To
diff --git a/content/posts/first-post/index.md b/content/posts/first-post/index.md
index 6cc4edd..5479484 100644
--- a/content/posts/first-post/index.md
+++ b/content/posts/first-post/index.md
@@ -1,7 +1,6 @@
 ---
 title: "First Post"
 date: 2023-08-05T21:21:40+02:00
-summary: First post on my new website.
 ---
 This is the first post on my new blog. I don't expect to write much at all, but
 if I do it will most likely be about my experiences with Linux on smartphones
diff --git a/content/posts/freshrss/index.md b/content/posts/freshrss/index.md
index f88eb4f..92581f2 100644
--- a/content/posts/freshrss/index.md
+++ b/content/posts/freshrss/index.md
@@ -1,7 +1,6 @@
 ---
 title: "Software Review: FreshRSS"
 date: 2024-06-08T12:14:37+02:00
-summary: About RSS, its issues and my solution of choice for them.
 ---
 Most RSS users start off with desktop readers such as Newsboat or Akregator in
 order to keep things simple. However, due to certain drawbacks of this approach
diff --git a/content/posts/matrix-delegation/index.md b/content/posts/matrix-delegation/index.md
index 76324e6..99ba0a7 100644
--- a/content/posts/matrix-delegation/index.md
+++ b/content/posts/matrix-delegation/index.md
@@ -1,7 +1,6 @@
 ---
 title: "Matrix delegation and how it may bite you"
 date: 2024-01-14T11:19:48+01:00
-summary: One of the ways small details can cause big issues.
 ---
 For those who don't know, delegation in Matrix is used in server-to-server
 communication to figure out which server serves a given domain. As an example,
diff --git a/content/posts/projects/index.md b/content/posts/projects/index.md
index 79e4d2d..fcf96ff 100644
--- a/content/posts/projects/index.md
+++ b/content/posts/projects/index.md
@@ -1,7 +1,6 @@
 ---
 title: "My projects are now listed on the website"
 date: 2023-09-16T13:15:59+02:00
-summary: "\"echo $title\""
 ---
 I have created a [new section](/projects) of the site dedicated to my projects.
 Currently the section numbers one whole project, that being [my effort to get
diff --git a/content/posts/rss-updates/index.md b/content/posts/rss-updates/index.md
index 2194e50..d59af8e 100644
--- a/content/posts/rss-updates/index.md
+++ b/content/posts/rss-updates/index.md
@@ -1,7 +1,6 @@
 ---
 title: "RSS updates"
 date: 2023-08-30T18:55:52+02:00
-summary: Small changes to the RSS feed.
 ---
 I have made some small, but important changes to the way the RSS feed of the site
 is generated.
diff --git a/content/posts/site-is-now-on-gitea/index.md b/content/posts/site-is-now-on-gitea/index.md
index 4ce5d8d..3e69baf 100644
--- a/content/posts/site-is-now-on-gitea/index.md
+++ b/content/posts/site-is-now-on-gitea/index.md
@@ -1,7 +1,6 @@
 ---
 title: "Site is now on Gitea"
 date: 2023-08-06T19:27:40+02:00
-summary: The site's source code is now on Gitea.
 ---
 Even though the site is still nothing special,
 I have published its source code on
diff --git a/content/posts/updating-dendrite/index.md b/content/posts/updating-dendrite/index.md
index 6222dcb..e44eca1 100644
--- a/content/posts/updating-dendrite/index.md
+++ b/content/posts/updating-dendrite/index.md
@@ -1,7 +1,6 @@
 ---
 title: "Updating/installing Dendrite"
 date: 2023-08-24T16:41:53+02:00
-summary: How to update/install Dendrite when you don't have a recent enough Golang on your server.
 ---
 I decided to share the method I just devised for updating (and perhaps
 installing) Dendrite on my VPS.
diff --git a/content/posts/windows-backup/index.md b/content/posts/windows-backup/index.md
index 9910e75..d8020a7 100644
--- a/content/posts/windows-backup/index.md
+++ b/content/posts/windows-backup/index.md
@@ -1,7 +1,6 @@
 ---
 title: "Windows Backup fails with 0x81000037? Check your filesystem"
 date: 2023-08-17T17:58:49+02:00
-summary: A weird issue with Windows Backup and how I fixed it.
 ---
 ## The Problem
 Yesterday, in preparation for a "downgrade" to Windows 10 from 11, I was trying
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 751a067..2536415 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -3,8 +3,12 @@
 <ul>
 {{ range .Pages }}
 	<li>
-		<a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "January 2, 2006" }}</a><br>
+		<a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "January 2, 2006" }} - {{ .ReadingTime }} minute read<br>
 		{{ .Summary }}
+		{{ if .Truncated }}
+		<br>
+		<a href="{{ .RelPermalink }}">Read full article...</a>
+		{{ end }}
 	</li>
 {{ end }}
 </ul>
-- 
2.39.5