2de6e634d6
This implements RSS timeline generation in gmnhg. RSS is generated both for the whole site, and for the content directories as an rss.xml file inside these directories. RSS requires the absolute URI to the article. For this to work, a geminiBaseURL setting is required to be set in the Hugo configuration file (config.toml/json/yaml). RSS template can be ovewritten on the site-wide / directory-wise basis; see godoc on how to do this. As there's no discovery method of an RSS timeline in Gemini, the users are expected to put a link to rss.xml on their site where necessary.
12 lines
313 B
Modula-2
12 lines
313 B
Modula-2
module github.com/tdemin/gmnhg
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v0.4.1
|
|
github.com/Masterminds/sprig/v3 v3.2.2
|
|
github.com/gomarkdown/markdown v0.0.0-20210514010506-3b9f47219fe7
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.5
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|