- Added Jinja2 templating to index.html for dynamic opengraph, tags, titles, and descriptions for bots via flask's render_template - Added index_tags.py to config folder for easily edited information for the update above - Added helmet to react to dynamically change the title of the tab for dynamic tabs even after a static index.html has been served by flask's render template
21 lines
947 B
HTML
21 lines
947 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favico.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="description" content="{{ data.description }}"/>
|
|
<meta name="keywords" content="{{ data.keywords }}"/>
|
|
<meta property='og:title' content="{{ data.opengraph_title }}" />
|
|
<meta property='og:description' content="{{ data.opengraph_description }}" />
|
|
<meta property='og:image' content="{{ data.opengraph_image }}" />
|
|
<meta property='og:url' content="{{ data.opengraph_url }}" />
|
|
<meta property='og:locale' content='en_US' />
|
|
<title>{{ data.tab_title }}</title>
|
|
<script type="module" crossorigin src="/assets/index-bTy8Pcga.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-0Rv9u7Qs.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
|
|
</body>
|
|
</html> |