add commit to footer
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ func genDay() string {
|
||||
|
||||
// agplCompliance returns a string containing a footer linking to the source code
|
||||
func agplCompilance() string {
|
||||
return TranslateString("\n\n---\n\n=> https://git.nytpu.com/comitium/about/ %s\n", "files.comitium_footer", &localizations.Replacements{"version": Version})
|
||||
return TranslateString("\n\n---\n\n=> https://git.nytpu.com/comitium/about/ %s\n", "files.comitium_footer", &localizations.Replacements{"version": Version, "commit": Commit})
|
||||
}
|
||||
|
||||
func (d *FullData) WriteSubs(dataPath string) error {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
## both feed.gmi & subscriptions.gmi
|
||||
generated_on: Generated on {{.date}}
|
||||
comitium_footer: aggregated using comitium v{{.version}}
|
||||
comitium_footer: aggregated using comitium v{{.version}}-{{.commit}}
|
||||
|
||||
## feed.gmi
|
||||
feed_subscriptions_link: Currently aggregating {{.num}} capsules, gopherholes, and websites.
|
||||
|
||||
Reference in New Issue
Block a user