Commit 02749eb5 authored by R茅gis Witz's avatar R茅gis Witz
Browse files

馃毟馃敡馃帹锔 Fichier config: YAML > TOML

Comme cela on utilise la m锚me syntaxe dans le front matter que dans
le fichier de config --> plus simple 脿 apprendre.
parent 18de864a
baseurl = "https://wiztigers.gitlab.io/hugo-template/"
contentdir = "content"
layoutdir = "layouts"
publishdir = "public"
title = "Je suis sur le web !"
canonifyURLs = true
#relativeURLs = true
#uglyURLs = true
DefaultContentLanguage = "en"
theme = "beautifulhugo"
metaDataFormat = "yaml"
pygmentsUseClasses = true
pygmentCodeFences = true
#disqusShortname = "XXX"
#googleAnalytics = "XXX"
[Params]
subtitle = "J'茅tais capable de faire un site sans que je n'en susse rien ..."
logo = "img/avatar-icon.png"
favicon = "img/favicon.ico"
dateFormat = "January 2, 2006"
commit = false
rss = true
comments = true
# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic"
#[[Params.bigimg]]
# src = "img/triangle.jpg"
# desc = "Triangle"
#[[Params.bigimg]]
# src = "img/sphere.jpg"
# desc = "Sphere"
#[[Params.bigimg]]
# src = "img/hexagon.jpg"
# desc = "Hexagon"
[Author]
name = "Some Person"
email = "youremail@domain.com"
facebook = "username"
googleplus = "+username" # or xxxxxxxxxxxxxxxxxxxxx
gitlab = "username"
github = "username"
twitter = "username"
reddit = "username"
linkedin = "username"
xing = "username"
stackoverflow = "users/XXXXXXX/username"
snapchat = "username"
instagram = "username"
youtube = "user/username" # or channel/channelname
soundcloud = "username"
spotify = "username"
bandcamp = "username"
itchio = "username"
keybase = "username"
[[menu.main]]
name = "Articles"
url = "post/"
weight = 1
[[menu.main]]
name = "脌 propos"
url = "page/about/"
weight = 3
[[menu.main]]
identifier = "samples"
name = "脌 la une"
weight = 2
[[menu.main]]
parent = "samples"
name = "Banni猫res"
url = "post/bannieres"
weight = 1
[[menu.main]]
parent = "samples"
name = "Math茅matiques"
url = "post/maths"
weight = 2
[[menu.main]]
parent = "samples"
name = "Programmation"
url = "post/code-source"
weight = 3
[[menu.main]]
name = "Cat茅gories"
url = "tags"
weight = 3
baseURL: "https://wiztigers.gitlab.io/hugo-template/"
contentdir: "content"
layoutdir: "layouts"
publishdir: "public"
title: "Je suis sur le web !"
canonifyURLs: true
#relativeURLs: true
#uglyURLs: true
defaultContentLanguage: "en"
theme: "beautifulhugo"
metaDataFormat: "yaml"
pygmentsUseClasses: true
pygmentCodeFences: true
params:
subtitle: "J'茅tais capable de faire un site sans que je n'en susse rien ..."
logo: "img/avatar-icon.png"
favicon: "img/favicon.ico"
dateFormat: "January 2, 2006"
commit: false
rss: true
comments: true
# bigimg:
# - src: "img/triangle.jpg"
# desc: "Triangle"
# - src: "img/sphere.jpg"
# desc: "Sphere"
# - src: "img/hexagon.jpg"
# desc: "Hexagon"
author:
name: "Some Person"
email: "youremail@domain.com"
gitlab: "username"
twitter: "username"
reddit: "username"
linkedin: "username"
stackoverflow: "users/XXXXXXX/username"
snapchat: "username"
instagram: "username"
itchio: "username"
menu:
main:
- name: "Articles"
url: "post/"
weight: 1
- name: " propos"
url: "page/about/"
weight: 3
- identifier: "samples"
name: " la une"
weight: 2
- parent: "samples"
name: "Banni猫res"
url: "post/bannieres"
weight: 1
- parent: "samples"
name: "Math茅matiques"
url: "post/maths"
weight: 2
- parent: "samples"
name: "Programmation"
url: "post/code-source"
weight: 3
- name: "Cat茅gories"
url: "tags"
weight: 3
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