diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
commit | abc0de079b895af1b705894eb2b63596e3e37274 (patch) | |
tree | c51d24dce55da8d9b227cbac6c2ef64a59d8e9dc /pyssg.xyz/plt/root_page.html | |
parent | db4b3736d4f45137a733ce5eb1e50aec968ca1d2 (diff) |
add pyssg.xyz configs and templates
Diffstat (limited to 'pyssg.xyz/plt/root_page.html')
-rw-r--r-- | pyssg.xyz/plt/root_page.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/root_page.html b/pyssg.xyz/plt/root_page.html new file mode 100644 index 0000000..7d04d98 --- /dev/null +++ b/pyssg.xyz/plt/root_page.html @@ -0,0 +1,50 @@ +{%extends "base.html"%} + +{%block html_lang%} +{{config['lang']}} +{%endblock html_lang%} + +{%block head_title%} +<title>{{config['title']}}</title> +{%endblock head_title%} + +{%block head_description%} +<meta name="description" content="{{config['description']}}"/> +{%endblock head_description%} + +{%block head_rss%} +{%endblock head_rss%} + +{%block head_extra%} +{%endblock head_extra%} + +{%block head_og%} + <meta property="og:title" content="{{config['title']}}"/> + <meta property="og:type" content="article"/> + <meta property="og:url" content="{{config['url']['main']}}/{{page.name}}"/> + <meta property="og:image" content="{{config['url']['static']}}/{{config['url']['default_image']}}"/> + <meta property="og:description" content="{{config['description']}}"/> + <meta property="og:locale" content="{{config['lang']}}"/> + <meta property="og:site_name" content="{{config['title']}}"/> +{%endblock head_og%} + +{%block body_header%} +{%import 'body/header.html' as body_header%} +{{body_header.print(config)}} +{%endblock body_header%} + +{%block body_content%} + <h1>{{page.title}}</h1> + + {{page.content}} +{%endblock body_content%} + +{%block body_footer%} +{%import 'body/footer.html' as body_footer%} +{{body_footer.contact(config)}} +{{body_footer.donate(config)}} +<br> +{{body_footer.created_with()}} +<br> +{{body_footer.copyright()}} +{%endblock body_footer%}
\ No newline at end of file |