gemini.git

going-flying.com gemini git repository

summary

tree

log

refs

bd68e0fcfda3966764586125708ab862c890a931 - Matthew Ernisse - 1598544683

syntax, also link entry back to gemini version

view tree

view raw

diff --git a/files/thoughts-to-gemini.py b/files/thoughts-to-gemini.py
index dd78f3b..83bc9fc 100755
--- a/files/thoughts-to-gemini.py
+++ b/files/thoughts-to-gemini.py
@@ -251,10 +251,14 @@ class Thoughts(object):
 			)
 			e.title('A brief thought from mernisse')
 			e.link(
-				href=f'{ WEBBASE }{ entry['id'] }.html',
+				href=f'{ WEBBASE }{ entry["id"] }.html',
 				rel='alternate',
 				type='text/html'
 			)
+			e.link(
+				href=URLBASE,
+				rel='alternate'
+			)
 
 		outFile = os.path.join(thoughtdir, 'atom.xml')
 		feed.atom_file(outFile)