commit: 333f7efaf4f033a05f5cb8a34fb56c2096b91008
parent 7a9ffcc1158524b3fd98daa65c4166e65974802b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 25 Nov 2020 05:08:16 +0100
header.shtml: Put title in early <h1></h1>
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.shtml b/index.shtml
@@ -1,5 +1,4 @@
<!--#set var="title" value='LitePub protocol suite'--><!--#include file="templates/header.shtml" -->
-<h1>LitePub protocol suite</h1>
<p>LitePub is a suite of protocols which provide a federated social network. They constitute various profiles of the <a href="https://www.w3.org/TR/activitypub/">ActivityPub</a> specification. It is intended that LitePub implementations provide compatibility with <a href="https://www.w3.org/TR/activitypub/">ActivityPub</a>, but there are some core behavioral differences.</p>
<h2>LitePub core</h2>
diff --git a/templates/header.shtml b/templates/header.shtml
@@ -10,3 +10,4 @@
<body>
<!--#include file="/templates/nav.html"-->
<main>
+<!--#if expr="${title}" --> <h1><!--#echo var="title" --></h1><!--#endif -->