un eu plus de bidouillage divers
This commit is contained in:
parent
799430037b
commit
05c37cac8f
6 changed files with 61 additions and 30 deletions
29
config.toml
29
config.toml
|
@ -55,39 +55,44 @@ pygmentCodeFences = true
|
||||||
# keybase = "username"
|
# keybase = "username"
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Blog"
|
name = "Accueil"
|
||||||
url = ""
|
url = ""
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "About"
|
name = "Charte"
|
||||||
url = "page/about/"
|
url = "/charte/"
|
||||||
weight = 3
|
|
||||||
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "samples"
|
|
||||||
name = "Samples"
|
|
||||||
weight = 2
|
weight = 2
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
parent = "samples"
|
identifier = "tutos"
|
||||||
|
name = "Tutos"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
parent = "tutos"
|
||||||
name = "Big Image Sample"
|
name = "Big Image Sample"
|
||||||
url = "post/2017-03-07-bigimg-sample"
|
url = "post/2017-03-07-bigimg-sample"
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
parent = "samples"
|
parent = "tutos"
|
||||||
name = "Math Sample"
|
name = "Math Sample"
|
||||||
url = "post/2017-03-05-math-sample"
|
url = "post/2017-03-05-math-sample"
|
||||||
weight = 2
|
weight = 2
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
parent = "samples"
|
parent = "tutos"
|
||||||
name = "Code Sample"
|
name = "Code Sample"
|
||||||
url = "post/2016-03-08-code-sample"
|
url = "post/2016-03-08-code-sample"
|
||||||
weight = 3
|
weight = 3
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Info"
|
||||||
|
url = "/info/"
|
||||||
|
weight = 4
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Tags"
|
name = "Tags"
|
||||||
url = "tags"
|
url = "tags"
|
||||||
weight = 3
|
weight = 5
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
## Front Page Content
|
## Bin alors de quoi s'agit-il?
|
||||||
|
|
||||||
This website is powered by [GitLab Pages](https://about.gitlab.com/features/pages/)
|
C'est l'histoire d'un mec ...
|
||||||
/ [Hugo](https://gohugo.io) and can be built in under 1 minute.
|
|
||||||
Literally. It uses the `beautifulhugo` theme which supports content on your front page.
|
|
||||||
Edit `/content/_index.md` to change what appears here. Delete `/content/_index.md`
|
|
||||||
if you don't want any content here.
|
|
||||||
|
|
||||||
Head over to the [GitLab project](https://gitlab.com/pages/hugo) to get started.
|
|
||||||
|
|
40
themes/beautifulhugo/i18n/fr.yaml
Normal file
40
themes/beautifulhugo/i18n/fr.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Content
|
||||||
|
- id: dateFormat
|
||||||
|
translation: "2 January 2 2006"
|
||||||
|
- id: postedOnDate
|
||||||
|
translation: "Poste le {{ .Count }}"
|
||||||
|
- id: translationsLabel
|
||||||
|
translation: "Autres langues: "
|
||||||
|
- id: translationsSeparator
|
||||||
|
translation: ", "
|
||||||
|
- id: readMore
|
||||||
|
translation: "En lire plus"
|
||||||
|
- id: olderPosts
|
||||||
|
translation: "Posts plus anciens"
|
||||||
|
- id: newerPosts
|
||||||
|
translation: "Posts plus recents"
|
||||||
|
- id: previousPost
|
||||||
|
translation: "Post precedent"
|
||||||
|
- id: nextPost
|
||||||
|
translation: "Post suivant"
|
||||||
|
|
||||||
|
# 404 page
|
||||||
|
- id: pageNotFound
|
||||||
|
translation: "Whoops, Cette page n'existe pas. (404 error)"
|
||||||
|
|
||||||
|
# Footer
|
||||||
|
- id: poweredBy # Accepts HTML
|
||||||
|
translation: '<a href="http://gohugo.io">Hugo v{{ .Hugo.Version }}</a> powered • Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>'
|
||||||
|
|
||||||
|
# Navigation
|
||||||
|
- id: toggleNavigation
|
||||||
|
translation: "Plier/deplier navigation"
|
||||||
|
- id: languageSwitcherLabel
|
||||||
|
translation: "Language"
|
||||||
|
- id: gcseLabelShort
|
||||||
|
translation: "Rechercher"
|
||||||
|
- id: gcseLabelLong
|
||||||
|
translation: "Rechercher {{ .Site.Title }}"
|
||||||
|
- id: gcseClose
|
||||||
|
translation: "Fermer"
|
||||||
|
|
|
@ -167,16 +167,10 @@ img {
|
||||||
}
|
}
|
||||||
.navbar-custom .avatar-container .avatar-img-border {
|
.navbar-custom .avatar-container .avatar-img-border {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 50%;
|
|
||||||
margin-left: -50%;
|
margin-left: -50%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
|
||||||
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8);
|
|
||||||
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
|
||||||
}
|
}
|
||||||
.navbar-custom .avatar-container .avatar-img {
|
.navbar-custom .avatar-container .avatar-img {
|
||||||
width: 100%;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,14 +189,11 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-custom .avatar-container .avatar-img-border {
|
.navbar-custom .avatar-container .avatar-img-border {
|
||||||
width: 100%;
|
width: 80%;
|
||||||
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
|
||||||
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
|
||||||
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-custom .avatar-container .avatar-img {
|
.navbar-custom .avatar-container .avatar-img {
|
||||||
width: 100%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue