# Don't use relative URLs in production - using False for proper absolute URLs
RELATIVE_URLS = False
-# Serve robots.txt (with a Content-Signal line permitting AI training/input use)
-# and favicon.ico at the site root instead of under /extra/
-STATIC_PATHS = ['extra/robots.txt', 'extra/favicon.ico']
+# Serve favicon.ico at the site root instead of under /extra/. robots.txt is
+# NOT generated here on purpose: crawlers only look for robots.txt at the true
+# domain root, but this site is served under /blog, so it's deployed as a
+# 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']
EXTRA_PATH_METADATA = {
- 'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
}
sys.path.append(os.curdir)
from pelicanconf import *
-# If you have a custom domain, set it here
-# SITEURL = 'https://yourdomain.com'
+# The blog lives under /blog on this domain, not at the root (the root is a
+# small standalone landing page, not part of this Pelican site) -- no
+# trailing slash, matching Pelican's own convention for SITEURL.
+SITEURL = 'https://zackmdavis.net/blog'
# RSS (not Atom) to match the existing WordPress feed's format at
# zackmdavis.net/blog/feed/. The output path is feed/index.xml rather than