Add content to the home and touch up the first post

This commit is contained in:
Miguel de la Cruz 2024-01-07 03:12:07 +01:00
parent 664adae79d
commit ff5a0d9afe
4 changed files with 6 additions and 7 deletions

View file

@ -1,7 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ range site.RegularPages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ .Summary }}
{{ end }}
{{ end }}

View file

@ -3,6 +3,7 @@
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
{{ $social := .Param "social" }}
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
{{ .Content }}