feat: add feed in gemini format

This commit is contained in:
valvin 2022-09-22 20:21:43 +02:00
parent ff8da9eaf0
commit 99a0f75100
3 changed files with 7 additions and 3 deletions

View File

@ -16,5 +16,5 @@ output_dir = "public"
[[tasks.feeds]] [[tasks.feeds]]
input_dir = "./gemlog" input_dir = "./gemlog"
title = "La capsule de Valvin" title = "La capsule de Valvin"
template = "atom.xml" template = "atom.gmi"
output = "atom.xml" output = "atom.gmi"

View File

@ -13,7 +13,7 @@ Ma toute première capsule qui me permet de découvrir Gemini
=> /gemlog Mon gemlog => /gemlog Mon gemlog
=> /contact Me contacter => /contact Me contacter
=> /atom.xml Mon Flux (gemlog) => /atom.gmi Mon Flux (gemlog)
INFO: 18/09/22 - suite à la migration kiln / agate, j'ai de nouveaux certificats INFO: 18/09/22 - suite à la migration kiln / agate, j'ai de nouveaux certificats
pour cette capsule. pour cette capsule.

View File

@ -0,0 +1,4 @@
# {{ .Title }}
{{ range .Pages }}=> {{ .URL }} {{ .Date.Format "2006-01-02" }} {{ .Title }}
{{ end -}}