1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-23 06:04:27 -04:00

make the main content/blog section configurable instead of hardcoded to notes

This commit is contained in:
2020-04-13 17:25:29 -04:00
parent c1700cdda0
commit abbc3f9678
12 changed files with 25 additions and 21 deletions

View File

@@ -20,7 +20,7 @@
{{- range .AlternativeOutputFormats }}
{{ printf `<link rel="alternate" type="%s" href="%s" />` .MediaType.Type .Permalink | safeHTML }}
{{- end }}
{{- range (where .Site.RegularPages "Section" "notes") }}
{{- range (where .Site.RegularPages "Section" .Site.Params.mainSection) }}
<entry>
<title>{{ .Title }}</title>
{{- with .Site.Author.name }}