diff options
| author | alex <alex@pdp7.net> | 2026-11-14 13:36:28 +0100 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2026-11-14 13:37:45 +0100 |
| commit | 860e05272b92cc7abd3f4f272046907265e32bbb (patch) | |
| tree | 69afff2d304b232d624167a2b92c9a1bf174ce92 | |
| parent | ee8cf8fd707350480003b75361ab4b1c51ef01d1 (diff) | |
Add change log to footer
| -rwxr-xr-x | blog/footers.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/blog/footers.py b/blog/footers.py index 6cc2d0ab..d7f4324a 100755 --- a/blog/footers.py +++ b/blog/footers.py @@ -16,6 +16,11 @@ EDIT_IN_GITHUB = { "en": "Edit this page", } +CHANGE_LOG = { + "es": "Historial de cambios (con feed RSS)", + "en": "Change log (with RSS feed)", +} + PARENT = { "es": "Subir", "en": "Up" @@ -49,6 +54,7 @@ for gmi in pathlib.Path.cwd().glob("**/*.gmi"): if content_source: footer.append(f"=> https://github.com/alexpdp7/alexpdp7/edit/master/{content_source} {EDIT_IN_GITHUB[language]}") + footer.append(f"=> https://alex.corcoles.net/cgit/alex/alexpdp7.git/log/{content_source} {CHANGE_LOG[language]}") closest_index = gmi.with_name("index.gmi") while closest_index == gmi or closest_index.is_relative_to(pathlib.Path.cwd()) and not closest_index.exists(): |
