Compare commits

..

3 commits

Author SHA1 Message Date
Jeppe Ernst a47096e8fb skip localisation of meta files 2018-04-22 10:44:32 +02:00
Jeppe Ernst 78336a8203 add static file redirects 2018-04-22 10:36:18 +02:00
Jeppe Ernst 6cde0f79a4 add google site verification 2018-04-22 10:34:09 +02:00
4 changed files with 12 additions and 3 deletions

8
.htaccess Normal file
View 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/

View file

@ -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…

View file

@ -27,14 +27,14 @@ donationCounter:
# multilanguage support
languages: ["da", "en"]
default_lang: "da"
exclude_from_localization: ["assets"]
exclude_from_localization: ["assets", ".htaccess", "google*.html"]
parallel_localization: false
# Build settings
permalink: /:title/
markdown: kramdown
exclude: ["README.md", 'Gemfile.lock', 'Gemfile', "docker-compose*.yml"]
include: ["_pages"]
include: ["_pages", ".htaccess"]
plugins:
- jekyll-feed

View file

@ -0,0 +1 @@
google-site-verification: googled7074ec4974cc1c7.html