add static file redirects
This commit is contained in:
parent
6cde0f79a4
commit
78336a8203
8
.htaccess
Normal file
8
.htaccess
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Redirect to new locations
|
||||||
|
Redirect /vedtaegter.pdf /assets/files/vedtaegter.pdf
|
||||||
|
Redirect /PapesBrev.pdf /assets/files/PapesBrevTilTeleindustrien.pdf
|
||||||
|
Redirect /PapeLyver.pdf /assets/files/PapeLyver.pdf
|
||||||
|
Redirect /FT-notat.pdf /assets/files/FT-notat.pdf
|
||||||
|
|
||||||
|
# template for redirects (never uncomment and use this line as is!)
|
||||||
|
#Redirect / /assets/files/
|
|
@ -27,7 +27,7 @@ If not using Docker, it's **important** that you build the site with `JEKYLL_ENV
|
||||||
Make sure that you have created a file in `_scripts/` called `config.sh`, (protip: just duplicate the `config-example.sh` file, and set the correct values, you should only need to change username and password.) Then you can build the site ande deploy it by running `docker-compose -f docker-compose-deploy.yml up`
|
Make sure that you have created a file in `_scripts/` called `config.sh`, (protip: just duplicate the `config-example.sh` file, and set the correct values, you should only need to change username and password.) Then you can build the site ande deploy it by running `docker-compose -f docker-compose-deploy.yml up`
|
||||||
|
|
||||||
This will execute a Docker container and do the following:
|
This will execute a Docker container and do the following:
|
||||||
1. Build the site **but** fail if there are any Frontmatter
|
1. Build the site **but** fail if there are any Frontmatter errors
|
||||||
2. Upload the contents of the `_site/` directory to the FTP server
|
2. Upload the contents of the `_site/` directory to the FTP server
|
||||||
3. That's it…
|
3. That's it…
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue