From edeedac5e19a832b7a3181eeefad1432bed97b2b Mon Sep 17 00:00:00 2001 From: Petr Masopust Date: Mon, 23 May 2022 20:32:33 +0200 Subject: [PATCH] SEO fixes --- pelicanconf.py | 1 + theme/static/robots.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 theme/static/robots.txt diff --git a/pelicanconf.py b/pelicanconf.py index d984c29..8051549 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -38,6 +38,7 @@ DEFAULT_PAGINATION = 10 STATIC_PATHS = ['images', 'static'] EXTRA_PATH_METADATA = { 'static/index.stupid': {'path': 'index.html'}, + 'static/robots.txt': {'path': 'robots.txt'}, } PLUGIN_PATHS = ["github/pelican-plugins"] PLUGINS = ["photos"] diff --git a/theme/static/robots.txt b/theme/static/robots.txt deleted file mode 100644 index c2a49f4..0000000 --- a/theme/static/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Allow: /