From: Zack M. Davis Date: Thu, 16 Jul 2026 05:22:02 +0000 (-0700) Subject: statics X-Git-Url: https://zackmdavis.net/blog/source?a=commitdiff_plain;h=7b643b182e2a6665bf7ec5aee4079c4f89bf6d6c;p=An_Algorithmic_Lucidity.git statics --- 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; }