diff options
| author | alex <alex@pdp7.net> | 2023-10-08 16:40:42 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-08 16:40:42 +0200 |
| commit | 6a390b55041c60387b8afc5e5f6a69a5e494939f (patch) | |
| tree | 406a4826643bf180f47aa1d2648c6603471d7f33 /blog_experiment/blog/html.py | |
| parent | 63b0946233b06735b8403c2f67acc7b706195909 (diff) | |
Add RSS
Diffstat (limited to 'blog_experiment/blog/html.py')
| -rw-r--r-- | blog_experiment/blog/html.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/blog_experiment/blog/html.py b/blog_experiment/blog/html.py index 2ecf97a6..3478eb2f 100644 --- a/blog_experiment/blog/html.py +++ b/blog_experiment/blog/html.py @@ -1,6 +1,8 @@ import bs4 import htmlgenerator as h +from blog import meta + def html_template(*content, page_title=None): title = "El blog es mío" @@ -10,8 +12,8 @@ def html_template(*content, page_title=None): h.HTML( h.HEAD(h.TITLE(title)), h.BODY( - h.H1("El blog es mío"), - h.H2("Hay otros como él, pero este es el mío"), + h.H1(meta.TITLE), + h.H2(meta.SUBTITLE), *content, ), doctype="html", |
