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]
name = "Greg Lebreton"
email = "greg.lebreton@hotmail.com"
#facebook = "username"
#googleplus = "+username" # or xxxxxxxxxxxxxxxxxxxxx
gitlab = "GregLebreton"
github = "GregLebreton"
twitter = "Gregan"
reddit = "username"
linkedin = "<greg<lebreton"
#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"
#xing = "username"
#bandcamp = "username"
#snapchat = "username"
#soundcloud = "username"
#facebook = "username"
#googleplus = "+username" # or xxxxxxxxxxxxxxxxxxxxx
# MENU
##### MENU #####
# sous menu POSTS
[[menu.main]]
name = "Posts"
url = "post/"
parent = "Posts"
name = "Post1"
url = "post/2021-05-02-third-post"
weight = 1
[[menu.main]]
parent = "Posts"
name = "Post2"
url = "post/2021-05-01-second-post"
weight = 1
# sous menu PROJETS
[[menu.main]]
parent = "Projets"
name = "Projet 1"
url = "post/2017-03-07-bigimg-sample"
url = "page/projet1"
weight = 1
[[menu.main]]
parent = "Projets"
name = "Projet 2"
url = "post/2017-03-05-math-sample"
url = "page/projet2"
weight = 2
[[menu.main]]
parent = "Projets"
name = "Projet 3"
url = "post/2016-03-08-code-sample"
url = "page/projet3"
weight = 3
# About
[[menu.main]]
name = "A propos"
url = "page/about/"
weight = 3
# Tags
[[menu.main]]
name = "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!
date: 2021-05-01
date: 2021-04-30
tags: ["Street of rage", "hugo"]
---

View File

@ -1,10 +1,11 @@
---
title: Test post 2 deux!
date: 2021-05-02
title: Test post deux!
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 >}}

View File

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

View File

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