From dc3913d8054a6ef151d22b34ca094ca2ef70071f Mon Sep 17 00:00:00 2001 From: iBug Date: Sat, 4 Jan 2025 00:34:45 +0800 Subject: [PATCH] robots.txt? --- _config.yml | 10 ++++++++-- _pages/robots.txt => robots.txt | 1 - 2 files changed, 8 insertions(+), 3 deletions(-) rename _pages/robots.txt => robots.txt (98%) diff --git a/_config.yml b/_config.yml index b7d71e46..be8a7632 100644 --- a/_config.yml +++ b/_config.yml @@ -155,7 +155,8 @@ footer_scripts: # Reading Files -include: ["_pages"] +include: + - _pages/ exclude: - "*.py" - "*.rb" @@ -198,7 +199,12 @@ exclude: - /script # tmp - vendor/ -keep_files: [".git", ".nojekyll", "README.md", "CNAME", "image"] +keep_files: + - .git + - .nojekyll + - CNAME + - README.md + - image encoding: "UTF-8" diff --git a/_pages/robots.txt b/robots.txt similarity index 98% rename from _pages/robots.txt rename to robots.txt index aa5f93b6..ff88b3ef 100644 --- a/_pages/robots.txt +++ b/robots.txt @@ -5,4 +5,3 @@ layout: none User-Agent: * Allow: / Sitemap: {{ '/sitemap.xml' | absolute_url }} -