diff --git a/.ci/.autoRedirect b/.ci/.autoRedirect index 014b4074656458475341c36bd66346ac59fa34ed..ea858a1432a4d0d3b78b42bf4c586e2a933ad672 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 725c1f6b9d49679dce0977c968ea7a65a4826400..2bbc4190cefb660ba07401e3f7f9f4ab7162d4ed 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 0b7b6bf5aa90cd8cfe9d4cd345ac83159fb94efd..f5755d294f871334fa6f15452ed2623ba260e40c 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