From 1b76cd9429ea4442c991678169a95cb216d2ab11 Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Fri, 4 Oct 2019 06:53:12 +0200
Subject: [PATCH] change all references to labcards

---
 .ci/.autoRedirect | 8 ++++----
 .ci/deploy.sh     | 2 +-
 _config.yml       | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.ci/.autoRedirect b/.ci/.autoRedirect
index 014b4074..ea858a14 100644
--- a/.ci/.autoRedirect
+++ b/.ci/.autoRedirect
@@ -13,20 +13,20 @@
             }
         });
     }
-    UrlExists('https://r3-core.pages.uni.lu/labCards-internal/index.html', function(status){
+    UrlExists('https://r3-core.pages.uni.lu/howto-cards-internal/index.html', function(status){
         if(status === 200){
             // internal pages
-            window.location.href = 'https://r3-core.pages.uni.lu/labCards-internal/stable';
+            window.location.href = 'https://r3-core.pages.uni.lu/howto-cards-internal/stable';
         } else {
             // external pages
-            window.location.href = 'https://r3.pages.uni.lu/labCards/stable';
+            window.location.href = 'https://r3.pages.uni.lu/howto-cards/stable';
         }
     });
     </script>
   </head>
   <body>
     <p>
-      Please follow to <a href="https://r3.pages.uni.lu/labCards/stable">https://r3.pages.uni.lu/labCards/stable</a>!
+      Please follow to <a href="https://r3.pages.uni.lu/howto-cards/stable">https://r3.pages.uni.lu/howto-cards/stable</a>!
     </p>
   </body>
 </html>
diff --git a/.ci/deploy.sh b/.ci/deploy.sh
index 725c1f6b..2bbc4190 100644
--- a/.ci/deploy.sh
+++ b/.ci/deploy.sh
@@ -16,7 +16,7 @@ for branch in $(git for-each-ref --format='%(refname:strip=3)' refs/remotes); do
     git reset --hard $branch
 
     # build the website
-    bundle exec jekyll build --baseurl="labCards/$artefact" -d "public/$artefact"
+    bundle exec jekyll build --baseurl="howto-cards/$artefact" -d "public/$artefact"
 done
 
 # checkout the current branch
diff --git a/_config.yml b/_config.yml
index 0b7b6bf5..f5755d29 100644
--- a/_config.yml
+++ b/_config.yml
@@ -19,7 +19,7 @@ description: >- # this means to ignore newlines until "baseurl:"
   This page is an index for lab cards  that are intended to provide practical guidance  in  implementing Data Management, Data Protection and IT setup.
 
 # URL settings (the most difficult part, please refer to the guide)
-baseurl: "/labCards"  # the subpath of your site, e.g. /gitlab-repository-name
+baseurl: "/howto-cards"  # the subpath of your site, e.g. /gitlab-repository-name
 url: "https://r3.pages.uni.lu"  # the base hostname & protocol for your site, e.g. http://gitlab-namespace-name.pages.uni.lu/
 
 # Banner settings
-- 
GitLab