1
2023-07-06 16:02:19 -04:00

95 lines
2.7 KiB
HTML

{# Allow extenders to pass through variables #}
{% block variable_wormhole %}
{% set title = "NO TITLE SET" %}
{% set description = "" %}
{% set is_article = false %}
{% set feature_flags = [] %}
{% set redirect_target = "" %}
{% set announcement = "" %}
{% set page_path = "" %}
{% endblock variable_wormhole %}
<!DOCTYPE html>
<html lang="en">
<head>
{# Page metadata #}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image/jpg" href="{{config.extra.profile_photo}}" />
{% include "components/metadata/advertise-rss.html" %}
{% include "components/metadata/opengraph.html" %}
{# Redirect support #}
{% if redirect_target != "" %}
<meta http-equiv="refresh" content="0; url={{redirect_target}}" />
{% endif %}
{# Page title #}
{% block title %}
<title>{{title}} | {{config.title}}</title>
{% endblock title %}
{# Site-wide styles #}
<link rel="stylesheet" href="/global.css">
{# Less important styles #}
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.1.0/github-markdown-light.min.css"
crossorigin="anonymous" referrerpolicy="no-referrer" lazyload />
{#
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> #}
<link rel="stylesheet" href="/styles/typography.css">
{# Component styles #}
{% block component_styles %}
{% endblock component_styles %}
{# Enable features #}
{% include "components/metadata/page-features-css.html" %}
</head>
<body>
{# The whole page #}
<div class="page">
{# Allow pages to override the content before the navbar #}
{# {% block page_start %}{% endblock page_start %} #}
{# Navbar #}
{# <div class="container">
{% include "components/navbar.html" %}
{% if announcement %}
<p class="announcement">{{announcement | safe}}</p>
{% else %}
<br>
{% endif %}
</div> #}
{# Actual content #}
<div class="page-body">
{% block content %}{% endblock content %}
{# Footer #}
{% include "components/footer.html" %}
</div>
</div>
{# Brid.gy h-card #}
<a href="https://ewpratten.com" class="h-card" rel="me" hidden>Evan Pratten</a>
{# Enable features #}
{% include "components/metadata/page-features-js.html" %}
{% include "components/metadata/analytics.html" %}
</body>
</html>