diff options
| author | alex <alex@pdp7.net> | 2024-11-29 21:01:21 +0100 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2024-11-29 21:02:14 +0100 |
| commit | cf618e7896194abf91d8a8e0078de537a7fe5b8b (patch) | |
| tree | 968e93b53e32c49c53fad31922c90d18a5558353 /blog | |
| parent | 7bcc7d49f3d467791e2a4c5f5de5d18c33c6131e (diff) | |
Tweak blog email call to actions
Diffstat (limited to 'blog')
| -rw-r--r-- | blog/blog/blog_pages.py | 5 | ||||
| -rw-r--r-- | blog/blog/meta.py | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/blog/blog/blog_pages.py b/blog/blog/blog_pages.py index 42051c7f..08262cdb 100644 --- a/blog/blog/blog_pages.py +++ b/blog/blog/blog_pages.py @@ -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 diff --git a/blog/blog/meta.py b/blog/blog/meta.py index be828ac3..6796671a 100644 --- a/blog/blog/meta.py +++ b/blog/blog/meta.py @@ -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" |
