diff options
Diffstat (limited to 'pyssg.xyz/plt/base.html')
-rw-r--r-- | pyssg.xyz/plt/base.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/base.html b/pyssg.xyz/plt/base.html new file mode 100644 index 0000000..8f9fbdc --- /dev/null +++ b/pyssg.xyz/plt/base.html @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html class="theme-dark" lang="{%block html_lang%}{%endblock html_lang%}" + prefix="og: https://ogp.me/ns#"> + <head> + <base href="{{config['url']['static']}}"> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="icon" href="images/icons/favicon.ico"> + {%block head_title%}{%endblock head_title%} + {%block head_description%}{%endblock head_description%} + {%block head_rss%}{%endblock head_rss%} + + <!-- general style --> + <link rel="stylesheet" type="text/css" href="css/style.css"> + <link rel="stylesheet" type="text/css" href="fork-awesome/css/fork-awesome.min.css"> + <link rel="stylesheet" type="text/css" href="font-awesome/css/all.min.css"> + + <!-- theme related --> + <script type="text/javascript" src="scripts/theme.js"></script> + <link id="theme-css" rel="stylesheet" type="text/css" href="css/theme.css"> + + <!-- extra -->> + {%block head_extra%}{%endblock head_extra%} + + <!-- og meta --> + {%block head_og%}{%endblock head_og%} + </head> + + <body> + <header> + {%import "body_header.html" as body_header%} + {{body_header.print(config)}} + </header> + + <main> + {%block body_content%}{%endblock body_content%} + </main> + + <footer> + {%import "body_footer.html" as body_footer%} + {{body_footer.print(config)}} + </footer> + </body> +</html>
\ No newline at end of file |