Commit e98b45de authored by Luc Didry's avatar Luc Didry
Browse files

Passage à Gitlab Pages + update

parent 993aad84
Pipeline #11924 passed with stages
in 19 seconds
{
"directory_to_copy": "public/",
"is_master_repo": true
}
image: alpine:3.5
before_script:
- apk update && apk add openssl
- wget https://github.com/spf13/hugo/releases/download/v0.19/hugo_0.19_Linux-64bit.tar.gz
- echo "3fc43b23a35dfe5290196bd0fc01f13f hugo_0.19_Linux-64bit.tar.gz" | md5sum -c
- tar xf hugo_0.19_Linux-64bit.tar.gz --strip-components=1 && mv hugo_0.19_linux_amd64 hugo && cp ./hugo /usr/bin
- hugo version
test:
script:
- hugo
except:
- master
pages:
script:
- mkdir content data
- hugo
artifacts:
paths:
- public
only:
- master
......@@ -9,10 +9,10 @@ theme = "hugo-identity-theme"
# You may place your images in corresponding folders and then set only filenames below to
# change page's appearance
favicon = "favicon.ico?v=1"
appletouchicon = "apple-touch-icon-precomposed.png?v=1"
favicon = "favicon.png?v=1"
appletouchicon = "apple-touch-icon-precomposed.png?v=2"
background = "raptor.png"
avatar = "luc.jpg"
avatar = "luc.png"
# Personal settings
......@@ -194,9 +194,9 @@ theme = "hugo-identity-theme"
icon = "fa-asterisk"
link = "https://framasphere.org/people/b13eb6b0beac0131e7e32a0000053625"
[[params.social]]
title = "Twitter"
icon = "fa-twitter"
link = "https://twitter.com/framasky"
title = "Cours en ligne"
icon = "fa-graduation-cap"
link = "/cours-asrall"
# Footer settings
[params.footer]
......
<html lang="fr">
<head>
<title>Luc Didry</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="https://luc.frama.io/images/icons/favicon.ico?v=1" type="image/x-icon" />
<link rel="apple-touch-icon-precomposed" href="https://luc.frama.io/images/icons/apple-touch-icon-precomposed.png?v=1" />
<style>
a img { border: 0 }
body { background-color: #caecf6 }
#noraptor {
left: 0%;
position: fixed;
top: 60%;
}
h1 {
margin: auto;
text-align: center;
padding-top: 50px;
font-size: 5em;
}
#notfound {
background: url(https://luc.frama.io/img/notfound.png);
height: 62px;
left: 50%;
margin-left: -153px;
margin-top: -31px;
position:absolute;
top: 50%;
width: 306px;
}
</style>
</head>
<body>
<a href="https://demo.lufi.io">
<img alt="Bye!" id="noraptor" src="https://luc.frama.io/img/noraptor.png">
</a> <div id="notfound"><h1>404</h1></div>
</body>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment