]> xn--ix-yja.es Git - alex.git/commitdiff
Tweak blog email call to actions
authoralex <alex@pdp7.net>
Fri, 29 Nov 2024 20:01:21 +0000 (21:01 +0100)
committeralexpdp7 <alex@corcoles.net>
Fri, 29 Nov 2024 20:02:14 +0000 (21:02 +0100)
blog/blog/blog_pages.py
blog/blog/meta.py

index 42051c7fa6f3d8c90c5e16a62fc610e34dfdacc0..08262cdb659d64129681a23da18e39ef0dac47e8 100644 (file)
@@ -47,7 +47,10 @@ class Entry:
         assert parsed[2] == gemtext.Line("")
 
         result = html.gemini_to_html(parsed[3:])
-        result.append(h.P(h.A("Editar", href=self.edit_url)))
+        result += [
+            h.P(meta.EMAIL_TEXT),
+            h.P(h.A("Editar", href=self.edit_url)),
+        ]
         return result
 
 
index be828ac3de9b7611e8f667f4177674645ece4e28..6796671ad5660da4b522ae965dea4f8c21f7ebfb 100644 (file)
@@ -12,4 +12,4 @@ LINKS = (
     ("Stack Exchange", "https://stackexchange.com/users/13361/alex"),
 )
 
-EMAIL_TEXT = "escríbeme cogiendo el dominio de esta web y cambiando el primer punto por una arroba"
+EMAIL_TEXT = "envíame un email cogiendo el dominio de esta web y cambiando el primer punto por una arroba"