From fe4a762a914675b7a84be4678431d47e7ec06962 Mon Sep 17 00:00:00 2001
From: Jake Charman
Date: Wed, 16 Sep 2026 20:36:00 +0100
Subject: [PATCH] SEO Improvements stage 1
---
run_local.sh | 4 +--
src/jakecharman/__init__.py | 2 +-
src/jakecharman/templates/article.html | 27 +++++++++++++-
src/jakecharman/templates/index.html | 48 ++++++++++++-------------
src/jakecharman/templates/links.html | 1 +
src/jakecharman/templates/main.html | 25 +++++++++++--
src/jakecharman/templates/projects.html | 1 +
src/static/style/mobile.css | 5 +++
8 files changed, 83 insertions(+), 30 deletions(-)
diff --git a/run_local.sh b/run_local.sh
index 7a4b6ed..6a9c5dc 100755
--- a/run_local.sh
+++ b/run_local.sh
@@ -6,7 +6,7 @@ set -x -o pipefail
content_dir=""
if [[ -d "../jc-content" ]]; then
- content_dir="-v $(realpath ../jc-content):/var/www/jc/projects"
+ content_dir="-v $(realpath ../jc-content):/var/www/jc/projects:z"
fi
-docker run -e DISCORD_ERR_HOOK=dummy $1 -v $(pwd)/src/:/var/www/jc $content_dir jc-ng-localtest
+docker run -e DISCORD_ERR_HOOK=dummy $1 $content_dir jc-ng-localtest
diff --git a/src/jakecharman/__init__.py b/src/jakecharman/__init__.py
index b5829e7..d6a754b 100644
--- a/src/jakecharman/__init__.py
+++ b/src/jakecharman/__init__.py
@@ -72,7 +72,7 @@ def inject_branding() -> dict:
case _:
brand = req_domain
- return {'branding': brand}
+ return {'branding': brand, 'url': req_domain}
@app.route('/')
def index() -> str:
diff --git a/src/jakecharman/templates/article.html b/src/jakecharman/templates/article.html
index 74a9689..27d8877 100755
--- a/src/jakecharman/templates/article.html
+++ b/src/jakecharman/templates/article.html
@@ -1,5 +1,5 @@
{% extends 'main.html' %}
-
+{% block description %}{{ metadata.description }}{% endblock %}
{% block head %}
{% if metadata.gallery %}
{% endif %}
+
+
{% endblock %}
{% block content %}
diff --git a/src/jakecharman/templates/index.html b/src/jakecharman/templates/index.html
index 8ab4428..2b448fd 100755
--- a/src/jakecharman/templates/index.html
+++ b/src/jakecharman/templates/index.html
@@ -18,31 +18,31 @@
My personal projects can also be found over on the projects page. Be aware though that if I'm able to write about a project here, it most likely wasn't done professionally so some may be a little rough around the edges.
-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+
-

+
@@ -64,7 +64,7 @@
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.
-

+
diff --git a/src/jakecharman/templates/links.html b/src/jakecharman/templates/links.html
index 2d1f57b..696a4cb 100644
--- a/src/jakecharman/templates/links.html
+++ b/src/jakecharman/templates/links.html
@@ -12,6 +12,7 @@
{% if link.get('img') is not none %}
-
+
{{ page_title }}{{branding}}
@@ -31,6 +31,27 @@
gtag('config', 'G-6WMXXY0RL0');
+
+
{% block head %}{% endblock %}
@@ -43,7 +64,7 @@
diff --git a/src/jakecharman/templates/projects.html b/src/jakecharman/templates/projects.html
index f1ff1b5..7b98fef 100755
--- a/src/jakecharman/templates/projects.html
+++ b/src/jakecharman/templates/projects.html
@@ -24,6 +24,7 @@
{% endif %}
a{
text-decoration: none;
+ font-family: "Orbitron", sans-serif;
+ font-optical-sizing: auto;
+ font-weight: 500;
+ font-style: normal;
+ font-size: 2em;
}
footer h2, section h2{