From 39de93e27f03e0dce98359e7910a5d68a9bc7ce9 Mon Sep 17 00:00:00 2001 From: Jeppe Ernst Date: Sun, 22 Apr 2018 10:58:14 +0200 Subject: [PATCH] Polyglot couldn't exclude the .htaccess file :poop: --- _config.yml | 4 ++-- .htaccess => htaccess | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) rename .htaccess => htaccess (89%) diff --git a/_config.yml b/_config.yml index f5c0e92..a1bd59e 100644 --- a/_config.yml +++ b/_config.yml @@ -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 diff --git a/.htaccess b/htaccess similarity index 89% rename from .htaccess rename to htaccess index cfe8ba6..f595c3f 100644 --- a/.htaccess +++ b/htaccess @@ -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