Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
howto-cards
Commits
1b76cd94
Verified
Commit
1b76cd94
authored
Oct 04, 2019
by
Laurent Heirendt
✈
Browse files
change all references to labcards
parent
bf4af641
Changes
3
Hide whitespace changes
Inline
Side-by-side
.ci/.autoRedirect
View file @
1b76cd94
...
...
@@ -13,20 +13,20 @@
}
});
}
UrlExists
(
'
https://r3-core.pages.uni.lu/
labC
ards-internal/index.html
'
,
function
(
status
){
UrlExists
(
'
https://r3-core.pages.uni.lu/
howto-c
ards-internal/index.html
'
,
function
(
status
){
if
(
status
===
200
){
// internal pages
window
.
location
.
href
=
'
https://r3-core.pages.uni.lu/
labC
ards-internal/stable
'
;
window
.
location
.
href
=
'
https://r3-core.pages.uni.lu/
howto-c
ards-internal/stable
'
;
}
else
{
// external pages
window
.
location
.
href
=
'
https://r3.pages.uni.lu/
labC
ards/stable
'
;
window
.
location
.
href
=
'
https://r3.pages.uni.lu/
howto-c
ards/stable
'
;
}
});
</script>
</head>
<body>
<p>
Please follow to
<a
href=
"https://r3.pages.uni.lu/
labC
ards/stable"
>
https://r3.pages.uni.lu/
labC
ards/stable
</a>
!
Please follow to
<a
href=
"https://r3.pages.uni.lu/
howto-c
ards/stable"
>
https://r3.pages.uni.lu/
howto-c
ards/stable
</a>
!
</p>
</body>
</html>
.ci/deploy.sh
View file @
1b76cd94
...
...
@@ -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
=
"
labC
ards/
$artefact
"
-d
"public/
$artefact
"
bundle
exec
jekyll build
--baseurl
=
"
howto-c
ards/
$artefact
"
-d
"public/
$artefact
"
done
# checkout the current branch
...
...
_config.yml
View file @
1b76cd94
...
...
@@ -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
:
"
/
labC
ards"
# the subpath of your site, e.g. /gitlab-repository-name
baseurl
:
"
/
howto-c
ards"
# 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment