Polyglot couldn't exclude the .htaccess file 💩

This commit is contained in:
Jeppe Ernst 2018-04-22 10:58:14 +02:00
parent a47096e8fb
commit 39de93e27f
2 changed files with 6 additions and 2 deletions

View file

@ -27,14 +27,14 @@ donationCounter:
# multilanguage support
languages: ["da", "en"]
default_lang: "da"
exclude_from_localization: ["assets", ".htaccess", "google*.html"]
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", ".htaccess"]
include: ["_pages"]
plugins:
- jekyll-feed

View file

@ -1,3 +1,7 @@
---
layout: null
permalink: .htaccess
---
# Redirect to new locations
Redirect /vedtaegter.pdf /assets/files/vedtaegter.pdf
Redirect /PapesBrev.pdf /assets/files/PapesBrevTilTeleindustrien.pdf