layouts: make indexing logic match homepage

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-11 14:02:46 +05:30
parent 0e9d28eb49
commit 4cdda9be49
1 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{ range $pages }}
{{ if .Date }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
@ -40,5 +41,6 @@
{{ end }}
</item>
{{ end }}
{{ end }}
</channel>
</rss>
</rss>