layout and styling

This commit is contained in:
2026-05-13 17:00:38 -07:00
parent f0c9c354c1
commit 725ff3b000
6 changed files with 124 additions and 10 deletions

View File

@ -2,13 +2,11 @@
<html lang="en">
{% include "head.njk" %}
<body>
<div id="content">
{% include "header.njk" %}
{% include "header.njk" %}
<main id="main">
{{ content | safe }}
</main>
</div>
<main id="main">
{{ content | safe }}
</main>
{% include "footer.njk" %}
<!-- This page `{{ page.url }}` was built on {% currentBuildDate %} -->

View File

@ -2,10 +2,12 @@
layout: base.njk
---
<h1>{{ title }}</h1>
{% if hero %}
<img src="{{ hero.src }}" alt="{{ hero.alt }}">
<img class="hero" src="{{ hero.src }}" alt="{{ hero.alt }}">
{% endif %}
{{ content | safe }}
<div id="content">
<h1>{{ title }}</h1>
{{ content | safe }}
</div>