Commit 0b0ef010 authored by resynth1943's avatar resynth1943

Add layouts and includes

parent 3bbb3fe3
<footer>
<p class="footer-description">
{{ brand.description }}
<br />
Proudly powered by <a href="https://11ty.dev">Eleventy</a>,
<a href="https://framagit.org">Framagit</a> and more.
<a href="/domain/">Like what you see?</a>
</p>
</footer>
\ No newline at end of file
<header>
<nav class="header-nav">
<ul class="header-list">
{% for link in header.links %}
<li>
<a href="{{ link.url }}">{{ link.name }}</a>
</li>
{% endfor %}
</ul>
<a href="/" class="header-brand">{{ brand.username }}</a>
</nav>
</header>
\ No newline at end of file
---
templateEngineOverride: liquid
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title or brand.name }}</title>
<meta name="description" content="{{ description or brand.description }}">
<link rel="stylesheet" href="/styling/main.css">
<link rel="stylesheet" href="/styling/footer.css">
<link rel="stylesheet" href="/styling/home.css">
<link rel="stylesheet" href="/styling/header.css">
<link rel="stylesheet" href="/assets/fonts/manrope/manrope-v1-latin-regular.css">
{% if env == 'production' %}
<script data-goatcounter="https://resynth1943.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
{% endif %}
<!-- <link rel="stylesheet" href="https://unpkg.com/nes.css/css/nes-core.min.css"> -->
</head>
<body>
{% include header.html %}
<main class="container {{ include.mainClass }}">
{{ content }}
</main>
<hr />
{% include footer.html %}
<!-- Goatcounter tracking code; see the analytics for this page: https://resynth1943.goatcounter.com/ -->
<script data-goatcounter="https://resynth1943.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</body>
</html>
\ No newline at end of file
---
layout: base
mainClass: post
---
{{ content }}
\ No newline at end of file
{% for article in collections.articles %}
<div class="post-item">
<a class="post-item-link" href="{{ article.url }}">
<h2>{{ article.data.title }}</h2>
</a>
<p class="post-item-date">{{ article.date | readableDate }}</p>
<blockquote class="post-summary">{{ article.data.description }}</blockquote>
</div>
{% endfor %}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment