generate newswire.txt file
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
Ariadne Conill 2022-08-02 19:37:52 -05:00
parent b527720880
commit 5a2e5595e2
2 changed files with 11 additions and 0 deletions

View File

@ -14,8 +14,16 @@ module:
imports:
- path: "github.com/kaushalmodi/hugo-atom-feed"
outputFormats:
newswire:
mediaType: "text/plain"
baseName: "newswire"
isPlainText: true
notAlternative: true
outputs:
home:
- HTML
- RSS
- ATOM
- newswire

View File

@ -0,0 +1,3 @@
{{- range first 1 (where .Site.RegularPages "Section" "blog") -}}
{{ .Title }} - {{ .Permalink }}
{{- end -}}