From bc22c8d2b1efad6f28608aa937e9dd0485eac6d7 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 10 Dec 2020 10:41:42 -0700 Subject: [PATCH] Allow all css and js to be seached via robots.txt by default --- CHANGELOG.md | 2 ++ robots.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e48b89d83..88252e731 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # v1.6.31 ## mm/dd/2020 +1. [](#improved) + * Allow all CSS and JS via `robots.txt` [#2006](https://github.com/getgrav/grav/issues/2006) [#3067](https://github.com/getgrav/grav/issues/3067) 1. [](#bugfix) * Fixed `pages` field escaping issues, needs admin update, too [admin#1990](https://github.com/getgrav/grav-plugin-admin/issues/1990) diff --git a/robots.txt b/robots.txt index 96406e45e..9ac278fd4 100644 --- a/robots.txt +++ b/robots.txt @@ -11,3 +11,5 @@ Allow: /user/pages/ Allow: /user/themes/ Allow: /user/images/ Allow: / +Allow: *.css$ +Allow: *.js$ \ No newline at end of file