Allow nested posts in blog directory
Fix the bad way I was doing this before
This commit is contained in:
parent
71657a0962
commit
25ac2d85a9
3 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
aliases = ["old", "ancient"]
|
||||
title = "Old Posts"
|
||||
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.
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
title = 'Reflections on "Teaching C My Way"'
|
||||
date = 2025-01-31T00:55:19Z
|
||||
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.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ .Content }}
|
||||
</header>
|
||||
|
||||
{{ range where .Pages "Kind" "page" }}
|
||||
{{ range .Pages }}
|
||||
<article class="post">
|
||||
<header class="post__header">
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> -- {{ .Date.Format "2 January 2006" }}</h1>
|
||||
|
|
Loading…
Reference in a new issue