1
0
Fork 0

Allow nested posts in blog directory

Fix the bad way I was doing this before
This commit is contained in:
Ethan Marshall 2025-01-31 03:12:33 +00:00
parent 71657a0962
commit 25ac2d85a9
Signed by: ejv2
GPG key ID: EC2FAEF4DB8968D8
3 changed files with 6 additions and 1 deletions

View file

@ -2,6 +2,9 @@
aliases = ["old", "ancient"] aliases = ["old", "ancient"]
title = "Old Posts" title = "Old Posts"
author = "Ethan Marshall" author = "Ethan Marshall"
[build]
list = 'never'
+++ +++
These are a collection of old posts from my ancient (pre-2023) website. The majority of these are pretty much the same character as this current website (i.e personal blog posts about stuff), but many of them pre-2016 are programming tutorial attempts and the like. These are a collection of old posts from my ancient (pre-2023) website. The majority of these are pretty much the same character as this current website (i.e personal blog posts about stuff), but many of them pre-2016 are programming tutorial attempts and the like.

View file

@ -2,6 +2,8 @@
title = 'Reflections on "Teaching C My Way"' title = 'Reflections on "Teaching C My Way"'
date = 2025-01-31T00:55:19Z date = 2025-01-31T00:55:19Z
author = 'Ethan Marshall' author = 'Ethan Marshall'
type = '_default'
layout = 'single'
+++ +++
It nearly always takes quite a shock to the system or severe inconvenience to actually get me off my behind and to start working - so that should probably tell you something about the state of educational C programming videos when I tried to do it myself. It nearly always takes quite a shock to the system or severe inconvenience to actually get me off my behind and to start working - so that should probably tell you something about the state of educational C programming videos when I tried to do it myself.

View file

@ -4,7 +4,7 @@
{{ .Content }} {{ .Content }}
</header> </header>
{{ range where .Pages "Kind" "page" }} {{ range .Pages }}
<article class="post"> <article class="post">
<header class="post__header"> <header class="post__header">
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> -- {{ .Date.Format "2 January 2006" }}</h1> <h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> -- {{ .Date.Format "2 January 2006" }}</h1>