ajout sous menu posts + deplacement de projets dans pages/

This commit is contained in:
Gregan 2021-05-02 15:42:40 +02:00
parent 649d16ba0d
commit 040a48e77d
8 changed files with 56 additions and 20 deletions

View File

@ -42,54 +42,66 @@ pygmentCodeFences = true
[Author] [Author]
name = "Greg Lebreton" name = "Greg Lebreton"
email = "greg.lebreton@hotmail.com" email = "greg.lebreton@hotmail.com"
#facebook = "username"
#googleplus = "+username" # or xxxxxxxxxxxxxxxxxxxxx
gitlab = "GregLebreton" gitlab = "GregLebreton"
github = "GregLebreton" github = "GregLebreton"
twitter = "Gregan" twitter = "Gregan"
reddit = "username" reddit = "username"
linkedin = "<greg<lebreton" linkedin = "<greg<lebreton"
#xing = "username"
stackoverflow = "users/XXXXXXX/username" stackoverflow = "users/XXXXXXX/username"
#snapchat = "username"
instagram = "username" instagram = "username"
youtube = "user/username" # or channel/channelname youtube = "user/username" # or channel/channelname
#soundcloud = "username"
spotify = "username" spotify = "username"
#bandcamp = "username"
itchio = "username" itchio = "username"
#keybase = "username" #keybase = "username"
#xing = "username"
#bandcamp = "username"
#snapchat = "username"
#soundcloud = "username"
#facebook = "username"
#googleplus = "+username" # or xxxxxxxxxxxxxxxxxxxxx
# MENU ##### MENU #####
# sous menu POSTS
[[menu.main]] [[menu.main]]
name = "Posts" parent = "Posts"
url = "post/" name = "Post1"
url = "post/2021-05-02-third-post"
weight = 1 weight = 1
[[menu.main]]
parent = "Posts"
name = "Post2"
url = "post/2021-05-01-second-post"
weight = 1
# sous menu PROJETS
[[menu.main]] [[menu.main]]
parent = "Projets" parent = "Projets"
name = "Projet 1" name = "Projet 1"
url = "post/2017-03-07-bigimg-sample" url = "page/projet1"
weight = 1 weight = 1
[[menu.main]] [[menu.main]]
parent = "Projets" parent = "Projets"
name = "Projet 2" name = "Projet 2"
url = "post/2017-03-05-math-sample" url = "page/projet2"
weight = 2 weight = 2
[[menu.main]] [[menu.main]]
parent = "Projets" parent = "Projets"
name = "Projet 3" name = "Projet 3"
url = "post/2016-03-08-code-sample" url = "page/projet3"
weight = 3 weight = 3
# About
[[menu.main]] [[menu.main]]
name = "A propos" name = "A propos"
url = "page/about/" url = "page/about/"
weight = 3 weight = 3
# Tags
[[menu.main]] [[menu.main]]
name = "Tags" name = "Tags"
url = "tags" url = "tags"

7
content/page/projet1.md Normal file
View File

@ -0,0 +1,7 @@
---
title: projet 1
date: 2021-05-02
tags: ["projet1", "post"]
---
le projet 1 est un tout nouveau projet ...

7
content/page/projet2.md Normal file
View File

@ -0,0 +1,7 @@
---
title: projet 2
date: 2021-05-02
tags: ["projet2", "post"]
---
le projet 2 est un tout nouveau projet ...

9
content/page/projet3.md Normal file
View File

@ -0,0 +1,9 @@
---
title: projet 3
date: 2021-05-02
tags: ["projet3", "post"]
---
le projet 3 est une refonte du projet 2
![](/images/hugo-logo.png)

View File

@ -1,6 +1,6 @@
--- ---
title: Bonjour Hugo! title: Bonjour Hugo!
date: 2021-05-01 date: 2021-04-30
tags: ["Street of rage", "hugo"] tags: ["Street of rage", "hugo"]
--- ---

View File

@ -1,10 +1,11 @@
--- ---
title: Test post 2 deux! title: Test post deux!
date: 2021-05-02 date: 2021-05-01
tags: ["atari"]
--- ---
Test de post tout simple avec du contenu : Bla BLa Bla, la nouvelle console Atari !
![c'est une image](/images/hugo-logo.png) <!-- ![c'est une image](/images/hugo-logo.png) -->
{{< youtube LStkGeUmR_0 >}} {{< youtube LStkGeUmR_0 >}}

View File

@ -6,4 +6,4 @@ tags: ["windows", "post"]
Test du troisième post : Test du troisième post :
{{< youtube qkYiIbczdjs >}} {{< youtube HrPRtYvCvZI >}}

View File

@ -14,9 +14,9 @@
- id: newerPosts - id: newerPosts
translation: "Nouveaux Posts" translation: "Nouveaux Posts"
- id: previousPost - id: previousPost
translation: "Post précédent" translation: "précédent"
- id: nextPost - id: nextPost
translation: "Post suivant" translation: "suivant"
# 404 page # 404 page
- id: pageNotFound - id: pageNotFound