Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
howto-cards LEGACY VERSION
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
R3
howto-cards LEGACY VERSION
Commits
717578cf
Commit
717578cf
authored
5 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'master'
Regular merge of develop See merge request
!59
parents
29a86b9f
f2a54647
No related branches found
No related tags found
5 merge requests
!245
Integrate data upload cloud
,
!235
Integrate data upload cloud
,
!224
Fixing a couple of issues in the redesign
,
!167
Access harrenhal
,
!59
Regular merge of develop
Pipeline
#18853
passed
5 years ago
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.ci/deploy.sh
+1
-0
1 addition, 0 deletions
.ci/deploy.sh
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
_config.yml
+0
-1
0 additions, 1 deletion
_config.yml
_plugins/hook_mailto_email_protector.rb
+0
-16
0 additions, 16 deletions
_plugins/hook_mailto_email_protector.rb
with
2 additions
and
17 deletions
.ci/deploy.sh
+
1
−
0
View file @
717578cf
...
@@ -16,6 +16,7 @@ for branch in $(git for-each-ref --format='%(refname:strip=3)' refs/remotes); do
...
@@ -16,6 +16,7 @@ for branch in $(git for-each-ref --format='%(refname:strip=3)' refs/remotes); do
git reset
--hard
$branch
git reset
--hard
$branch
# build the website
# build the website
bundle
install
bundle
exec
jekyll build
--baseurl
=
"howto-cards/
$artefact
"
-d
"public/
$artefact
"
bundle
exec
jekyll build
--baseurl
=
"howto-cards/
$artefact
"
-d
"public/
$artefact
"
if
[[
$branch
==
"master"
]]
;
then
if
[[
$branch
==
"master"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
.gitignore
+
1
−
0
View file @
717578cf
.jekyll-cache/
env/.jekyll-cache/
env/.jekyll-cache/
*.aux
*.aux
*.log
*.log
...
...
This diff is collapsed.
Click to expand it.
_config.yml
+
0
−
1
View file @
717578cf
...
@@ -54,7 +54,6 @@ theme: jekyll-theme-lcsb-default
...
@@ -54,7 +54,6 @@ theme: jekyll-theme-lcsb-default
plugins
:
plugins
:
-
jekyll-feed
-
jekyll-feed
-
jekyll-paginate-v2
-
jekyll-paginate-v2
-
jekyll-theme-lcsb-frozen-components
# These settings are used to display share link to howto.lcsb.uni.lu
# These settings are used to display share link to howto.lcsb.uni.lu
# The display logic itself is in the template
# The display logic itself is in the template
...
...
This diff is collapsed.
Click to expand it.
_plugins/hook_mailto_email_protector.rb
deleted
100644 → 0
+
0
−
16
View file @
29a86b9f
Jekyll
::
Hooks
.
register
([
:pages
,
:posts
,
:documents
],
:pre_render
)
do
|
post
|
# This will run every time the website is built
# Include a plugin (needs to be in gemfile)
include
Jekyll
::
EmailProtect
::
EmailProtectionFilter
# Using a simpler version of email regexp
email_regexp
=
/mailto\:(?:[\'\"]*)(?:[\w+\-]\.?)+@[a-z\d\-]+(?:\.[a-z]+)*\.[a-z]+(?:[\'\"]*)/i
# Take post's content, and transform every occurence of the following regexp (an email)
post
.
content
=
post
.
content
.
gsub
(
email_regexp
)
{
# For every occurence, apply protection function:
|
param
|
"mailto:"
+
Jekyll
::
EmailProtect
::
EmailProtectionFilter
::
encode_email
(
param
[
7
..-
1
].
delete
(
"'"
).
delete
(
'"'
))
}
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment