include _index.html in autogenerated pages, remove 'time to read' estimates

This commit is contained in:
Ben Charlton 2024-04-14 13:26:45 +01:00
parent b10b9143d6
commit 4193a15b0e
3 changed files with 15 additions and 8 deletions

View file

@ -1,6 +1,11 @@
{{ define "main" -}}
<ul class="posts">
<h1>{{ .Title }}</h1>
<div class="homepage-content">
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
{{ .Content }}
</div>
{{ range .Data.Pages -}}
<li>
<div class="flex">