diff options
| author | alex <alex@pdp7.net> | 2023-10-08 17:08:44 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-08 17:08:44 +0200 |
| commit | 9530e8ee47a21f9f0775ed7867d22b02d7445182 (patch) | |
| tree | a1098622d7830dc39b145bd364ea3b2689059900 /blog_experiment/blog/html.py | |
| parent | 3ec65ccd248ffe20db1892d0cf8e8ac19861f6d7 (diff) | |
Fix HTML titles
Diffstat (limited to 'blog_experiment/blog/html.py')
| -rw-r--r-- | blog_experiment/blog/html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blog_experiment/blog/html.py b/blog_experiment/blog/html.py index 0568060d..25a2e82e 100644 --- a/blog_experiment/blog/html.py +++ b/blog_experiment/blog/html.py @@ -5,7 +5,7 @@ from blog import meta def html_template(*content, page_title=None): - title = "El blog es mío" + title = meta.TITLE if page_title: title += f" - {page_title}" return bs4.BeautifulSoup(h.render( @@ -15,7 +15,7 @@ def html_template(*content, page_title=None): h.LINK(rel="alternate", type="application/rss+xml", title=meta.TITLE, href=f"{meta.BASE_URL}/feed/"), ), h.BODY( - h.H1(meta.TITLE), + h.H1(title), h.H2(meta.SUBTITLE), *content, ), |
