]> zackmdavis.net Git - An_Algorithmic_Lucidity.git/commitdiff
statics
authorZack M. Davis <code@zackmdavis.net>
Thu, 16 Jul 2026 05:22:02 +0000 (22:22 -0700)
committerZack M. Davis <code@zackmdavis.net>
Thu, 16 Jul 2026 05:22:02 +0000 (22:22 -0700)
pelicanconf.py
provisioning/nginx_siteconf

index 1027b43f11ff6fe56ea3920ef6848da8821d3382..044025053b28ec6acb42b57d02da92a0bc456956 100644 (file)
@@ -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'},
 }
index 3bbe0e2e0823096e675f8588636a97dae159478e..3d341cd6b72663bd37a522ccd58d1ba404ba469c 100644 (file)
@@ -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;
         }