mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Reduce number of RSS articles in feed
This commit is contained in:
parent
6f2ca586a7
commit
f0217df30e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" (.Permalink | absURL) .MediaType | safeHTML }}
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" (.Permalink | absURL) .MediaType | safeHTML }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ printf "<atom:link href=\"/opensearch.xml\" rel=\"search\" type=\"application/opensearchdescription+xml\" />" }}
|
{{ printf "<atom:link href=\"/opensearch.xml\" rel=\"search\" type=\"application/opensearchdescription+xml\" />" }}
|
||||||
{{- range $i, $page := $pages -}}
|
{{- range $i, $page := (first 42 $pages) -}}
|
||||||
{{- if $page.Params.inReplyTo -}}{{ continue }}{{- end -}}
|
{{- if $page.Params.inReplyTo -}}{{ continue }}{{- end -}}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ .Title | default (delimit (slice "An untitled" (.Date.Format "January") (.Type | singularize)) " ") }}</title>
|
<title>{{ .Title | default (delimit (slice "An untitled" (.Date.Format "January") (.Type | singularize)) " ") }}</title>
|
||||||
|
|
Loading…
Reference in a new issue