sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/
commit 3d06e1b9a1b5e8236362fbacd5f41b24f88523b6
parent 2abf8994dd3fea4a39de89c3036bc80c6d9fb5f8
Author: Dan Callaghan <djc@djc.id.au>
Date:   Tue, 31 Mar 2026 22:19:15 +1100

extract header to a separate included fragment

Diffstat:
A _includes/header.html | 18 ++++++++++++++++++
M _layouts/default.md | 20 +-------------------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/_includes/header.html b/_includes/header.html
@@ -0,0 +1,18 @@
+    <header>
+      <div class="container">
+        <a href="/">
+          <h1>sup</h1>
+          <h2>A curses threads-with-tags style email client</h2>
+        </a>
+
+        <section id="links">
+          <a href="https://github.com/sup-heliotrope/sup" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
+        <a href="https://github.com/sup-heliotrope/sup/wiki" class="btn">Wiki</a>
+        <a href="https://github.com/sup-heliotrope/sup/issues" class="btn">Issues</a>
+        <a href="/releases/" class="btn">Releases</a>
+        <a href="/screenshots/" class="btn">Screenshots</a>
+        <a href="https://github.com/sup-heliotrope/sup-colors" class="btn">Color schemes</a>
+        <a href="/community/" class="btn">Community</a>
+        </section>
+      </div>
+    </header>
diff --git a/_layouts/default.md b/_layouts/default.md
@@ -10,25 +10,7 @@
     <meta name="viewport" content="width=device-width" />
   </head>
   <body>
-    <header>
-      <div class="container">
-        <a href="/">
-          <h1>sup</h1>
-          <h2>A curses threads-with-tags style email client</h2>
-        </a>
-
-        <section id="links">
-          <a href="https://github.com/sup-heliotrope/sup" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
-        <a href="https://github.com/sup-heliotrope/sup/wiki" class="btn">Wiki</a>
-        <a href="https://github.com/sup-heliotrope/sup/issues" class="btn">Issues</a>
-        <a href="/releases/" class="btn">Releases</a>
-        <a href="/screenshots/" class="btn">Screenshots</a>
-        <a href="https://github.com/sup-heliotrope/sup-colors" class="btn">Color schemes</a>
-        <a href="/community/" class="btn">Community</a>
-        </section>
-      </div>
-    </header>
-
+{% include header.html %}
     {{ content }}