From 1fd18157b538252554352e44b26d40b67248cbcd Mon Sep 17 00:00:00 2001 From: rambip Date: Tue, 19 Nov 2024 14:59:41 +0100 Subject: [PATCH] fix description and keywods not appearing in page --- __main__.py | 3 ++- components/base.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/__main__.py b/__main__.py index 2c63d7f..4af8f15 100644 --- a/__main__.py +++ b/__main__.py @@ -47,7 +47,8 @@ def generate_home(): page="index.html" title="PIAF" - template = env.get_template("home.html", globals={"page": page, "title": title}) + globals = dict(GLOBALS, page=page, title=title) + template = env.get_template("home.html", globals=globals) write_html("index.html", template) diff --git a/components/base.html b/components/base.html index 2f3ca4c..3521360 100644 --- a/components/base.html +++ b/components/base.html @@ -6,9 +6,9 @@ + content="{{KEYWORDS}}"> + content="{{DESCRIPTION}}">