From 49c7d3eddfed7ab5bbda5750377c8f6630891e18 Mon Sep 17 00:00:00 2001 From: Jake Charman Date: Mon, 9 Feb 2026 16:55:55 +0000 Subject: [PATCH] Update templates --- src/jakecharman/templates/article.html | 6 ++++-- src/jakecharman/templates/contact.html | 6 ++++-- src/jakecharman/templates/error.html | 6 ++++-- src/jakecharman/templates/footer.html | 5 ----- src/jakecharman/templates/index.html | 8 +++++--- src/jakecharman/templates/links.html | 6 ++++-- src/jakecharman/templates/{header.html => main.html} | 8 ++++++++ src/jakecharman/templates/projects.html | 6 ++++-- 8 files changed, 33 insertions(+), 18 deletions(-) delete mode 100755 src/jakecharman/templates/footer.html rename src/jakecharman/templates/{header.html => main.html} (92%) mode change 100755 => 100644 diff --git a/src/jakecharman/templates/article.html b/src/jakecharman/templates/article.html index 6aba5b7..fd0f5a4 100755 --- a/src/jakecharman/templates/article.html +++ b/src/jakecharman/templates/article.html @@ -1,4 +1,6 @@ -{% include 'header.html' %} +{% extends 'main.html' %} + +{% block content %}

{{ metadata.title}}

@@ -7,4 +9,4 @@ {{post|safe}}
-{% include 'footer.html' %} \ No newline at end of file +{% endblock %} \ No newline at end of file diff --git a/src/jakecharman/templates/contact.html b/src/jakecharman/templates/contact.html index bc0c72b..b09b4f9 100755 --- a/src/jakecharman/templates/contact.html +++ b/src/jakecharman/templates/contact.html @@ -1,4 +1,6 @@ -{% include 'header.html' %} +{% extends 'main.html' %} + +{% block content %}

Contact Me

Got a question or want to talk about something on this site? Drop me a message below:

@@ -17,4 +19,4 @@

{{ user_message }}

{% endif %}
-{% include 'footer.html' %} \ No newline at end of file +{% endblock %} \ No newline at end of file diff --git a/src/jakecharman/templates/error.html b/src/jakecharman/templates/error.html index 0003ba3..d473543 100755 --- a/src/jakecharman/templates/error.html +++ b/src/jakecharman/templates/error.html @@ -1,4 +1,6 @@ -{% include 'header.html' %} +{% extends 'main.html' %} + +{% block content %}
@@ -8,4 +10,4 @@
-{% include 'footer.html' %} \ No newline at end of file +{% endblock %} \ No newline at end of file diff --git a/src/jakecharman/templates/footer.html b/src/jakecharman/templates/footer.html deleted file mode 100755 index 2c1dbdd..0000000 --- a/src/jakecharman/templates/footer.html +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/jakecharman/templates/index.html b/src/jakecharman/templates/index.html index 05b9e79..8ab4428 100755 --- a/src/jakecharman/templates/index.html +++ b/src/jakecharman/templates/index.html @@ -1,4 +1,6 @@ -{% include 'header.html' %} +{% extends 'main.html' %} + +{% block content %}
@@ -59,7 +61,7 @@

When I'm not at work, I can often be found at Santa Pod Raceway with Nitro Junkie Racing

We run a Top Fuel motorcycle purpose built for drag racing. The engine is loosely based on a Kawasaki Z 1000, but supercharged, and nitromethane injected to produce around 1,000 horsepower.

-

I've also had the opportunity to work on a 10,000 horsepower Top Fuel Dragster. I wrote about this on the Nitro Junkie website.

+

I've also had the opportunity to work on a 10,000 horsepower Top Fuel Dragster. I wrote about this on the Nitro Junkie website, and later extended that post here.

-{% include 'footer.html' %} \ No newline at end of file +{% endblock %} \ No newline at end of file diff --git a/src/jakecharman/templates/links.html b/src/jakecharman/templates/links.html index 73fdbf5..2d1f57b 100644 --- a/src/jakecharman/templates/links.html +++ b/src/jakecharman/templates/links.html @@ -1,4 +1,6 @@ -{% include 'header.html' %} +{% extends 'main.html' %} + +{% block content %}

Useful Links

-{% include 'footer.html' %} \ No newline at end of file +{% endblock %} \ No newline at end of file diff --git a/src/jakecharman/templates/header.html b/src/jakecharman/templates/main.html old mode 100755 new mode 100644 similarity index 92% rename from src/jakecharman/templates/header.html rename to src/jakecharman/templates/main.html index a9cfac0..b90b16d --- a/src/jakecharman/templates/header.html +++ b/src/jakecharman/templates/main.html @@ -38,3 +38,11 @@ + +{% block content %}{% endblock %} + + + + \ No newline at end of file diff --git a/src/jakecharman/templates/projects.html b/src/jakecharman/templates/projects.html index 30650ee..f1ff1b5 100755 --- a/src/jakecharman/templates/projects.html +++ b/src/jakecharman/templates/projects.html @@ -1,4 +1,6 @@ -{% include 'header.html' %} +{% extends 'main.html' %} + +{% block content %}
-{% include 'footer.html' %} \ No newline at end of file +{% endblock %} \ No newline at end of file