diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2021-03-01 18:02:39 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2021-03-01 18:05:49 +0300 |
commit | 99fe8f3f3ed00cee31c0d89553e1d554c0d06fb8 (patch) | |
tree | 34d53501357e205fd6f31abe3c72bc6c047b4e57 /Rakefile | |
parent | 72c5ad3430de0cb72a0baaec6f143bc4ded185c8 (diff) |
Fix location of the _redirects file
The redirects raketask is run after the site
is built, so _redirects needs to be under public/
instead of content/.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ end desc 'Create the _redirects file' task :redirects do redirects_yaml = YAML.load_file('content/_data/redirects.yaml') - redirects_file = 'content/_redirects' + redirects_file = 'public/_redirects' # Remove _redirects before populating it File.delete(redirects_file) if File.exists?(redirects_file) |