url = gem_element.url
if url.startswith("gemini://"):
if url.startswith("gemini://alex.corcoles.net/"):
- url = url.replace("gemini://alex.corcoles.net/", "https://alex.corcoles.net/")
+ url = url.replace("gemini://alex.corcoles.net/", meta.BASE_URL + "/")
else:
url = url.replace("gemini://", "https://portal.mozz.us/gemini/")
title += f" - {page_title}"
return bs4.BeautifulSoup(h.render(
h.HTML(
- h.HEAD(h.TITLE(title)),
+ h.HEAD(
+ h.TITLE(title),
+ h.LINK(rel="alternate", type="application/rss+xml", title=meta.TITLE, href=f"{meta.BASE_URL}/feed/"),
+ ),
h.BODY(
h.H1(meta.TITLE),
h.H2(meta.SUBTITLE),
TITLE = "El blog es mío"
SUBTITLE = "Hay otros como él, pero este es el mío"
-BASE_URL = "https://alex.corcoles.net"
+BASE_URL = "https://blog.pdp7.net"