diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..dc19131 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/zen"] + path = themes/zen + url = https://github.com/frjo/hugo-theme-zen.git diff --git a/config.toml b/config.toml index d732580..76a4208 100644 --- a/config.toml +++ b/config.toml @@ -9,6 +9,7 @@ canonifyurls = true # Configuration du language et thème DefaultContentLanguage = "fr" theme = "beautifulhugo" +#theme = "Lanyon" metaDataFormat = "yaml" pygmentsUseClasses = true pygmentCodeFences = true @@ -23,7 +24,7 @@ pygmentCodeFences = true favicon = "img/favicon.ico" dateFormat = "January 2, 2006" commit = false - rss = true + rss = false 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" @@ -63,25 +64,6 @@ pygmentCodeFences = true ##### MENU ##### -# sous menu PROJETS -[[menu.main]] - parent = "Projets" - name = "Projet 1" - url = "page/projet1" - weight = 1 - -[[menu.main]] - parent = "Projets" - name = "Projet 2" - url = "page/projet2" - weight = 2 - -[[menu.main]] - parent = "Projets" - name = "Projet 3" - url = "page/projet3" - weight = 3 - [[menu.main]] name = "Post" @@ -91,11 +73,30 @@ pygmentCodeFences = true # About [[menu.main]] name = "A propos" - url = "page/about/" - weight = 3 + url = "page/about" + weight = 2 # Tags [[menu.main]] name = "Tags" url = "tags" + weight = 3 + +# sous menu PROJETS +[[menu.main]] + parent = "Projets" + name = "Projet 1" + url = "projets/projet1" weight = 4 + +[[menu.main]] + parent = "Projets" + name = "Projet 2" + url = "projets/projet2" + +[[menu.main]] + parent = "Projets" + name = "Projet 3" + url = "projets/projet3" + + diff --git a/content/page/projet1.md b/content/page/projet1.md deleted file mode 100644 index 62c9aa5..0000000 --- a/content/page/projet1.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: projet 1 -date: 2021-05-02 -tags: ["projet1", "post"] ---- - -le projet 1 est un tout nouveau projet ... \ No newline at end of file diff --git a/content/page/projet2.md b/content/page/projet2.md deleted file mode 100644 index d12b211..0000000 --- a/content/page/projet2.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: projet 2 -date: 2021-05-02 -tags: ["projet2", "post"] ---- - -le projet 2 est un tout nouveau projet ... \ No newline at end of file diff --git a/content/page/projet3.md b/content/page/projet3.md deleted file mode 100644 index 382542f..0000000 --- a/content/page/projet3.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: projet 3 -date: 2021-05-02 -tags: ["projet3", "post"] ---- - -le projet 3 est une refonte du projet 2 - -![](/images/hugo-logo.png) \ No newline at end of file diff --git a/content/post/2021-05-01-first-post.md b/content/post/2021-05-01-first-post.md index b4c625a..bc2c698 100644 --- a/content/post/2021-05-01-first-post.md +++ b/content/post/2021-05-01-first-post.md @@ -1,5 +1,5 @@ --- -title: streets of rage ! +title: Test 1 Streets of rage ! date: 2021-05-02 tags: ["Street of rage", "hugo"] --- @@ -8,4 +8,4 @@ Test de post tout simple avec du contenu : {{< youtube ZSWzPI4BqvA >}} -![c'est une image](/images/hugo-logo.png) \ No newline at end of file +![c'est une image](/images/hugo-logo.png) diff --git a/content/post/2021-05-01-second-post.md b/content/post/2021-05-01-second-post.md index 012e63b..fc8b4a7 100644 --- a/content/post/2021-05-01-second-post.md +++ b/content/post/2021-05-01-second-post.md @@ -9,3 +9,4 @@ Bla BLa Bla, la nouvelle console Atari ! {{< youtube LStkGeUmR_0 >}} + diff --git a/content/projets/projet1.md b/content/projets/projet1.md new file mode 100644 index 0000000..e7c7def --- /dev/null +++ b/content/projets/projet1.md @@ -0,0 +1,10 @@ +--- +title: projet 1 +tags: ["projet"] +--- + +### sous titre projet 1 + +le projet 1 est un tout nouveau projet ... + +![](/images/projets/projet1/projet1.jpg) \ No newline at end of file diff --git a/content/projets/projet2.md b/content/projets/projet2.md new file mode 100644 index 0000000..0439954 --- /dev/null +++ b/content/projets/projet2.md @@ -0,0 +1,12 @@ +--- +title: projet 2 +tags: ["projet2", "projet"] +--- + +le projet 2 est un tout nouveau projet ... + +![](/images/projets/projet2/projet2.webp) + +et bla ! + +![](/images/projets/projet2/projet2.webp) \ No newline at end of file diff --git a/content/projets/projet3.md b/content/projets/projet3.md new file mode 100644 index 0000000..d94749a --- /dev/null +++ b/content/projets/projet3.md @@ -0,0 +1,20 @@ +--- +title: projet 3 +tags: ["projet3", "projet"] +--- + +le projet 3 est un projet de code + +![](/images/hugo-logo.png) + +bla bla bla +bla bla bla bla bla bla bla bla bla +bla bla bla bla bla bla bla bla bla bla bla bla +bla bla bla ! + +bla bla bla bla bla bla : + - bla bla bla + - bla bla + +{{< youtube ZSWzPI4BqvA >}} + diff --git a/static/images/projets/projet1/projet1.jpg b/static/images/projets/projet1/projet1.jpg new file mode 100644 index 0000000..1c57c46 Binary files /dev/null and b/static/images/projets/projet1/projet1.jpg differ diff --git a/static/images/projets/projet2/projet2.webp b/static/images/projets/projet2/projet2.webp new file mode 100644 index 0000000..2cde1de Binary files /dev/null and b/static/images/projets/projet2/projet2.webp differ diff --git a/themes/Lanyon/layouts/index.html b/themes/Lanyon/layouts/index.html index 8059c68..2b12650 100644 --- a/themes/Lanyon/layouts/index.html +++ b/themes/Lanyon/layouts/index.html @@ -12,7 +12,7 @@ {{ .Site.Title }} - + {{ partial "head_includes.html" . }} @@ -21,7 +21,7 @@ {{ partial "sidebar.html" . }} - +