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.

- - - - - - - - - - - - - - - - - - - - - - + Ansible Logo + AWS Logo + Azure Logo + C# Logo + Debian Logo + DigitalOcean Logo + Docker Logo + FreeIPA Logo + Google Cloud Logo + Git Logo + Grafana Logo + Hadoop Logo + Hive Logo + Java Logo + Jenkins Logo + MariaDB Logo + NGINX Logo + Proxmox Logo + Python Logo + RedHat Logo + Rocky Linux Logo + Subversion Logo
- + Oracle Cloud certification badge
@@ -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 %} {{ link.title }} - + {{ 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 %} {{ row.alt }}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{