summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-20 08:56:59 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-20 08:56:59 -0700
commitcf5dd6581e75a5947606e8f3ab2233e8b6978394 (patch)
treeeb4f1fcfac1344ead1f3eb4531944c6e64e24792 /html
parent215aac15f443b6a924670a6a8a81da37b982d7f9 (diff)
Seperate some stuff
Diffstat (limited to 'html')
-rwxr-xr-xhtml/footer.html2
-rwxr-xr-xhtml/header.html8
-rwxr-xr-xhtml/main.html9
-rwxr-xr-xhtml/navbar.html0
-rwxr-xr-xhtml/stylesheets.html27
5 files changed, 30 insertions, 16 deletions
diff --git a/html/footer.html b/html/footer.html
index 3a15050..678e9ff 100755
--- a/html/footer.html
+++ b/html/footer.html
@@ -17,5 +17,5 @@
-->
<div class="footer">
- <h6>© {{YEAR}} Connor Thomson. Content licensed under the <a href=https://creativecommons.org/licenses/by-sa/4.0/>Creative Commons Attribution-ShareAlike 4.0 International</a> license unless otherwise noted.</h6>
+ <h6>© {{year}} Connor Thomson. Content licensed under the <a href=https://creativecommons.org/licenses/by-sa/4.0/>Creative Commons Attribution-ShareAlike 4.0 International</a> license unless otherwise noted.</h6>
</div>
diff --git a/html/header.html b/html/header.html
index 827ac18..dccb0f3 100755
--- a/html/header.html
+++ b/html/header.html
@@ -28,12 +28,6 @@
</div>
</a>
<nav class="navbar">
- <div>
- <a href="/">Home</a>
- </div>
- <div>
- <a href="/signup">Sign-up</a>
- <a href="/signin">Sign-in</a>
- </div>
+ {{navbar}}
</nav>
</div>
diff --git a/html/main.html b/html/main.html
index d4a3534..690d257 100755
--- a/html/main.html
+++ b/html/main.html
@@ -25,14 +25,7 @@
<link rel="icon" type="image/x-icon" href="/images/logos/taya.gif">
- <link rel="stylesheet" href="/css/{{device}}/body.css">
- <link rel="stylesheet" href="/css/{{device}}/content.css">
- <link rel="stylesheet" href="/css/{{device}}/header.css">
- <link rel="stylesheet" href="/css/{{device}}/footer.css">
- <link rel="stylesheet" href="/css/{{device}}/container.css">
- <link rel="stylesheet" href="/css/{{device}}/button.css">
- <link rel="stylesheet" href="/css/{{device}}/input.css">
- <link rel="stylesheet" href="/css/{{device}}/login.css">
+ {{stylesheets}}
</head>
<body ontouchstart>
<div class="container">
diff --git a/html/navbar.html b/html/navbar.html
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/html/navbar.html
diff --git a/html/stylesheets.html b/html/stylesheets.html
new file mode 100755
index 0000000..bd8c9f7
--- /dev/null
+++ b/html/stylesheets.html
@@ -0,0 +1,27 @@
+<!--
+ -- GNUfault.org - GNUfault's website
+ -- Copyright (C) 2026 Connor Thomson
+ --
+ -- This program is free software: you can redistribute it and/or modify
+ -- it under the terms of the GNU Affero General Public License as published by
+ -- the Free Software Foundation, either version 3 of the License, or
+ -- (at your option) any later version.
+ --
+ -- This program is distributed in the hope that it will be useful,
+ -- but WITHOUT ANY WARRANTY; without even the implied warranty of
+ -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ -- GNU Affero General Public License for more details.
+ --
+ -- You should have received a copy of the GNU Affero General Public License
+ -- along with this program. If not, see <https://www.gnu.org/licenses/>.
+ -->
+
+<link rel="stylesheet" href="/css/{{device}}/body.css">
+<link rel="stylesheet" href="/css/{{device}}/content.css">
+<link rel="stylesheet" href="/css/{{device}}/header.css">
+<link rel="stylesheet" href="/css/{{device}}/footer.css">
+<link rel="stylesheet" href="/css/{{device}}/container.css">
+<link rel="stylesheet" href="/css/{{device}}/button.css">
+<link rel="stylesheet" href="/css/{{device}}/input.css">
+<link rel="stylesheet" href="/css/{{device}}/login.css">
+<link rel="stylesheet" href="/css/{{device}}/navbar.css">