1
0
Fork 0

Set up base template and convert index and 404 to use the base instead
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
ayesc9000 2026-05-19 18:24:57 -04:00
commit 71679ac74e
3 changed files with 60 additions and 73 deletions

View file

@ -1,26 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<title>Not Found</title>
<link href="/style.css" rel="stylesheet" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="application-name" content="Offshore Shell Company" />
<meta name="author" content="AyesC" />
<meta name="og:title" content="Offshore Shell Company" />
<meta name="og:type" content="website" />
<meta name="og:url" content="https://offshoreshell.company/" />
<meta name="og:locale" content="en_CA" />
</head>
<body>
{% extends "base.html" %}
{% block content %}
<h1>OFFSHORE SHELL COMPANY</h1>
<p>Page not found. <a href="/">Go home.</a></p>
<br>
<hr>
<br>
<p>
Copyright &copy; Liam "AyesC" Hogan under
<a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>
</p>
</body>
</html>
{% endblock content %}

26
templates/base.html Normal file
View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Offshore Shell Company</title>
<link href="/style.css" rel="stylesheet" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="application-name" content="{{ config.title }}" />
<meta name="author" content="{{ config.author }}" />
<meta name="description" content="{{ config.description }}" />
<meta name="keywords" content="{{ config.extra.keywords }}" />
<meta name="og:title" content="{{ config.title }}" />
<meta name="og:description" content="{{ config.description }}" />
<meta name="og:type" content="website" />
<meta name="og:url" content="{{ config.base_url }}" />
<meta name="og:locale" content="en_CA" />
</head>
<body>
{% block content %}{% endblock content %}
<br>
<p>
Copyright &copy; Liam "AyesC" Hogan under
<a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>
</p>
</body>
</html>

View file

@ -1,21 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<title>Offshore Shell Company</title>
<link href="/style.css" rel="stylesheet" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="application-name" content="Offshore Shell Company" />
<meta name="author" content="AyesC" />
<meta name="description" content="Ushering in a new reality of corporate taxes." />
<meta name="keywords" content="Offshore Shell Company, Offshore Shell, Shell Company, Offshore, Shell, Company, AyesC" />
<meta name="og:title" content="Offshore Shell Company" />
<meta name="og:description" content="Ushering in a new reality of corporate taxes." />
<meta name="og:type" content="website" />
<meta name="og:url" content="https://offshoreshell.company/" />
<meta name="og:locale" content="en_CA" />
</head>
<body>
{% extends "base.html" %}
{% block content %}
<h1>OFFSHORE SHELL COMPANY</h1>
<p>
We all hate paying taxes, especially those of us trying to save for our next superyacht or
@ -38,10 +23,4 @@
<p>{{ service.description }}</p>
</div>
{% endfor %}
<br>
<p>
Copyright &copy; Liam "AyesC" Hogan under
<a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>
</p>
</body>
</html>
{% endblock content %}