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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user