diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..cfe8ba60 --- /dev/null +++ b/.htaccess @@ -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/ \ No newline at end of file diff --git a/README.md b/README.md index e1af83b5..2ad80eeb 100644 --- a/README.md +++ b/README.md @@ -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` 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 3. That's it…