From cbf6bf9a556f882d597b0bc1e65fd34e17387777 Mon Sep 17 00:00:00 2001 From: eclipse Date: Wed, 19 Mar 2025 13:55:26 +0100 Subject: [PATCH] moved .htaccess to content directory and updated site config accordingly --- .htaccess => content/misc/.htaccess | 0 pelicanconf.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename .htaccess => content/misc/.htaccess (100%) diff --git a/.htaccess b/content/misc/.htaccess similarity index 100% rename from .htaccess rename to content/misc/.htaccess diff --git a/pelicanconf.py b/pelicanconf.py index 414a762..de38d1f 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -22,7 +22,7 @@ DIRECT_TEMPLATES = [] ARTICLE_PATHS = ["posts"] PAGE_PATHS = ["pages"] -STATIC_PATHS = ["images", "favicon", "php"] +STATIC_PATHS = ["images", "favicon", "php", "misc"] IGNORE_FILES = ['**/.*', '__pycache__', 'favicon-from-svg.sh', '*.metadata'] @@ -36,6 +36,7 @@ EXTRA_PATH_METADATA = { 'php/Exception.php': {'path': 'Exception.php'}, 'php/PHPMailer.php': {'path': 'PHPMailer.php'}, 'php/SMTP.php': {'path': 'SMTP.php'}, + 'misc/.htaccess': {'path': '.htaccess'}, } PAGE_URL = '{slug}/'