From 7b643b182e2a6665bf7ec5aee4079c4f89bf6d6c Mon Sep 17 00:00:00 2001 From: "Zack M. Davis" Date: Wed, 15 Jul 2026 22:22:02 -0700 Subject: [PATCH] statics --- pelicanconf.py | 2 +- provisioning/nginx_siteconf | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 1027b43..0440250 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -100,7 +100,7 @@ RELATIVE_URLS = False # standalone file directly to the real webroot instead (see # provisioning/robots.txt) -- if Pelican put it in its own output tree, it'd # end up at /blog/robots.txt, which crawlers won't find. -STATIC_PATHS = ['extra/favicon.ico'] +STATIC_PATHS = ['extra/favicon.ico', 'images'] EXTRA_PATH_METADATA = { 'extra/favicon.ico': {'path': 'favicon.ico'}, } diff --git a/provisioning/nginx_siteconf b/provisioning/nginx_siteconf index 3bbe0e2..3d341cd 100644 --- a/provisioning/nginx_siteconf +++ b/provisioning/nginx_siteconf @@ -18,8 +18,11 @@ server { expires $expires; # The domain root is a small standalone landing page (plus docs/ and - # temporary/ carried over from the old NameCheap hosting) -- not part - # of the Pelican blog, which lives under /blog instead. + # media/ carried over from the old NameCheap hosting -- PDFs and OGGs + # linked from stable blog posts) -- not part of the Pelican blog, + # which lives under /blog instead. temporary/ and the old /software + # demos deliberately did not make the move: never promised to be + # stable the way blog permalinks and their assets are. root /home/blogmistress/zackmdavis.net; index index.html; @@ -31,7 +34,7 @@ server { autoindex on; } - location /temporary { + location /media { autoindex on; } -- 2.53.0