diff options
| author | nytpu <alex@nytpu.com> | 2021-05-11 13:14:54 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-05-11 13:14:54 -0600 |
| commit | c782bcbef82cc86e1c6f878c5a78741d9bc24308 (patch) | |
| tree | 255789651c9d1e700624493b30242f5b9cb1f54e | |
| parent | 39bcda2975a809212e501f7752a97dbcf3453ed5 (diff) | |
add commit to footer
| -rw-r--r-- | core/entries.go | 2 | ||||
| -rw-r--r-- | localizations_src/en-US/files.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/entries.go b/core/entries.go index 5bbcd6c..681a10f 100644 --- a/core/entries.go +++ b/core/entries.go @@ -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 { diff --git a/localizations_src/en-US/files.yaml b/localizations_src/en-US/files.yaml index 92043a5..e886fcd 100644 --- a/localizations_src/en-US/files.yaml +++ b/localizations_src/en-US/files.yaml @@ -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. |
