clean up + ajouts divers

This commit is contained in:
Gregan 2021-05-02 18:17:03 +02:00
parent 362a0b54af
commit 3486de3c3e
16 changed files with 79 additions and 53 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/zen"]
path = themes/zen
url = https://github.com/frjo/hugo-theme-zen.git

View File

@ -9,6 +9,7 @@ canonifyurls = true
# Configuration du language et thème # Configuration du language et thème
DefaultContentLanguage = "fr" DefaultContentLanguage = "fr"
theme = "beautifulhugo" theme = "beautifulhugo"
#theme = "Lanyon"
metaDataFormat = "yaml" metaDataFormat = "yaml"
pygmentsUseClasses = true pygmentsUseClasses = true
pygmentCodeFences = true pygmentCodeFences = true
@ -23,7 +24,7 @@ pygmentCodeFences = true
favicon = "img/favicon.ico" favicon = "img/favicon.ico"
dateFormat = "January 2, 2006" dateFormat = "January 2, 2006"
commit = false commit = false
rss = true rss = false
comments = 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" # 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 ##### ##### 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]] [[menu.main]]
name = "Post" name = "Post"
@ -91,11 +73,30 @@ pygmentCodeFences = true
# About # About
[[menu.main]] [[menu.main]]
name = "A propos" name = "A propos"
url = "page/about/" url = "page/about"
weight = 3 weight = 2
# Tags # Tags
[[menu.main]] [[menu.main]]
name = "Tags" name = "Tags"
url = "tags" url = "tags"
weight = 3
# sous menu PROJETS
[[menu.main]]
parent = "Projets"
name = "Projet 1"
url = "projets/projet1"
weight = 4 weight = 4
[[menu.main]]
parent = "Projets"
name = "Projet 2"
url = "projets/projet2"
[[menu.main]]
parent = "Projets"
name = "Projet 3"
url = "projets/projet3"

View File

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

View File

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

View File

@ -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)

View File

@ -1,5 +1,5 @@
--- ---
title: streets of rage ! title: Test 1 Streets of rage !
date: 2021-05-02 date: 2021-05-02
tags: ["Street of rage", "hugo"] tags: ["Street of rage", "hugo"]
--- ---
@ -8,4 +8,4 @@ Test de post tout simple avec du contenu :
{{< youtube ZSWzPI4BqvA >}} {{< youtube ZSWzPI4BqvA >}}
![c'est une image](/images/hugo-logo.png) ![c'est une image](/images/hugo-logo.png)

View File

@ -9,3 +9,4 @@ 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

@ -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)

View File

@ -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)

View File

@ -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 >}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

View File

@ -12,7 +12,7 @@
<base href="{{ .Site.BaseURL }}"> <base href="{{ .Site.BaseURL }}">
<title>{{ .Site.Title }}</title> <title>{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> <!-- link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /-->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
{{ partial "head_includes.html" . }} {{ partial "head_includes.html" . }}
@ -21,7 +21,7 @@
{{ partial "sidebar.html" . }} {{ partial "sidebar.html" . }}
<!-- See /layouts/indexes/category.html for explanation of this section --> <!-- See /layouts/indexes/category.html for explanation of this section
<div class="wrap"> <div class="wrap">
<div class="masthead"> <div class="masthead">
<div class="container"> <div class="container">
@ -30,6 +30,7 @@
</h3> </h3>
</div> </div>
</div> </div>
-->
<!-- <!--
This section contains the content of our home page. This section contains the content of our home page.

View File

@ -2,7 +2,7 @@
- id: dateFormat - id: dateFormat
translation: "2 Janvier, 2006" translation: "2 Janvier, 2006"
- id: postedOnDate - id: postedOnDate
translation: "Posté le {{ .Count }}" #translation: "Posté le {{ .Count }}"
- id: translationsLabel - id: translationsLabel
translation: "Autres langues: " translation: "Autres langues: "
- id: translationsSeparator - id: translationsSeparator
@ -34,7 +34,7 @@
- id: gcseLabelShort - id: gcseLabelShort
translation: "Recherche" translation: "Recherche"
- id: gcseLabelLong - id: gcseLabelLong
translation: "Search {{ .Site.Title }}" translation: "Recherche {{ .Site.Title }}"
- id: gcseClose - id: gcseClose
translation: "Fermer" translation: "Fermer"

View File

@ -46,12 +46,12 @@
<ul class="pager main-pager"> <ul class="pager main-pager">
{{ if .Paginator.HasPrev }} {{ if .Paginator.HasPrev }}
<li class="previous"> <li class="previous">
<a href="{{ .URL }}page/{{ .Paginator.Prev.PageNumber }}">&larr; {{ i18n "newerPosts" }}</a> <a href="{{ .Permalink }}page/{{ .Paginator.Prev.PageNumber }}">&larr; {{ i18n "newerPosts" }}</a>
</li> </li>
{{ end }} {{ end }}
{{ if .Paginator.HasNext }} {{ if .Paginator.HasNext }}
<li class="next"> <li class="next">
<a href="{{ .URL }}page/{{ .Paginator.Next.PageNumber }}">{{ i18n "olderPosts" }} &rarr;</a> <a href="{{ .Permalink }}page/{{ .Paginator.Next.PageNumber }}">{{ i18n "olderPosts" }} &rarr;</a>
</li> </li>
{{ end }} {{ end }}
</ul> </ul>

1
themes/zen Submodule

@ -0,0 +1 @@
Subproject commit eab34d2c67a0bf9087bbd9287535a68a80f18b4a