diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2025-09-26 17:40:43 +0200 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2025-09-26 17:40:43 +0200 |
| commit | 583c01de122be399dcbf200ccc3f8bb8687c2cd1 (patch) | |
| tree | 8afa844c8e720fa09d70190168791bc177b4cae0 /layouts/posts/section.html | |
| parent | 9a1294965f82a112079f29447e5e04ecc1f5e4ed (diff) | |
Added the changes that allow for blogging
Diffstat (limited to 'layouts/posts/section.html')
| -rw-r--r-- | layouts/posts/section.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/posts/section.html b/layouts/posts/section.html new file mode 100644 index 0000000..eedc63e --- /dev/null +++ b/layouts/posts/section.html @@ -0,0 +1,12 @@ +{{ define "main" }} + <h1>{{ .Title }}</h1> + {{ .Content }} + <ul> + {{ range .Pages }} + <li> + <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> + <p>{{ .Date | time.Format "2006-01-02" }}</p>{{ .Summary }} + </li> + {{ end }} + </ul> +{{ end }} |
