diff options
Diffstat (limited to 'html')
| -rwxr-xr-x | html/footer.html | 2 | ||||
| -rwxr-xr-x | html/header.html | 8 | ||||
| -rwxr-xr-x | html/main.html | 9 | ||||
| -rwxr-xr-x | html/navbar.html | 0 | ||||
| -rwxr-xr-x | html/stylesheets.html | 27 |
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"> |
