Skip to content

Commit

Permalink
fix description and keywods not appearing in page
Browse files Browse the repository at this point in the history
  • Loading branch information
rambip committed Nov 19, 2024
1 parent 82a479a commit 1fd1815
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions components/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" property="og:title" content="PIAF">
<meta name="keywords"
content="{{keywords}}">
content="{{KEYWORDS}}">
<meta name="description"
content="{{description}}">
content="{{DESCRIPTION}}">
<meta property="og:title" content="{{title}}">
<meta property="og:url" content="{{MAIN_SITE_URL}}/{{page}}">
<meta property="og:image" content="{{MAIN_SITE_URL}}/static/piaf_gray.png">
Expand Down

0 comments on commit 1fd1815

Please sign in to comment.