commit: 069c033dc8079124ef94b363e8659be95eef2b33
parent 65c435966214348446703cc2f306b65415cea594
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 25 Nov 2020 04:49:48 +0100
Move <main> to template
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/index.shtml b/index.shtml
@@ -1,5 +1,4 @@
<!--#set var="title" value='LitePub protocol suite'--><!--#include file="templates/header.shtml" -->
-<main>
<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>
@@ -17,5 +16,4 @@
<li><a href="https://git.pleroma.social/pleroma/relay/">ActivityRelay</a></li>
<li><a href="mailto:root+implementations@litepub.social?subject=New+LitePub+Implementation">Your own?</a></li>
</ul>
-</main>
<!--#include file="templates/footer.shtml" -->
diff --git a/templates/footer.shtml b/templates/footer.shtml
@@ -1 +1,2 @@
+</main>
</body></html>
\ No newline at end of file
diff --git a/templates/header.shtml b/templates/header.shtml
@@ -1,11 +1,12 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
- <meta charset="utf-8"/>
+ <meta charset="utf-8" />
<!--#if expr="${title}" --> <title><!--#echo var="title" --> — LitePub</title><!--#endif -->
- <link rel="stylesheet" type="text/css" href="/assets/main.css?serial=2020112501"/>
- <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" type="text/css" href="/assets/main.css?serial=2020112501" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="vcs-git" href="https://hacktivis.me/git/litepub.social" />
</head>
<body>
- <!--#include file="/templates/nav.html"-->
+<!--#include file="/templates/nav.html"-->
+<main>