dustin.web/templates/base.html

54 lines
1.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{% block init -%}
{% set page_class = "" %}
{% endblock -%}
<!DOCTYPE html>
<html lang="en">
<head>
<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="stylesheet"
href="https://necolas.github.io/normalize.css/8.0.1/normalize.css"
/>
<link
rel="stylesheet"
href="{{ get_url(path='style.css', trailing_slash=false) }}"
/>
<title>Dustin C. Hatch</title>
{% block links %}{% endblock %}
</head>
<body class="{{ page_class }}">
{% block header %}
<header class="page-header">
<div class="logo">
<a href="{{ config.base_url }}">
{{ load_data(path="static/dustin.svg") | safe }}
</a>
</div>
<nav class="main-nav">
<ul>
<li><a href="{{ config.base_url }}">Home</a></li
><li><a href="{{ get_url(path='/blog') }}">Blog</a></li
><li><a href="{{ get_url(path='/cv') }}">CV</a><li
>
</ul>
</nav>
</header>
{% endblock header %}
<main id="content" class="main-content" role="main">
<div class="main-content">
{% block content %}{% endblock %}
</div>
</main>
{% block after_content %}{% endblock %}
<footer class="page-footer">
<hr />
<span class="copyright">Copyright © 20102021 Dustin C. Hatch</span>
<span>Built with <a href="https://www.getzola.org/">Zola</a><span>
</footer>
</body>
</html>