1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 20:25:32 -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

@@ -16,7 +16,7 @@
</image>{{ end }}{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML -}}
{{ end }}
{{- range (where .Site.RegularPages "Section" "notes") }}
{{- range (where .Site.RegularPages "Section" .Site.Params.mainSection) }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>