diff --git a/hugo.toml b/hugo.toml index 498abd9..3e3dcb8 100644 --- a/hugo.toml +++ b/hugo.toml @@ -38,9 +38,8 @@ ignoreLogs = ["warning-goldmark-raw-html"] site = "@mistergeekfrance" creator = "@mistergeekfrance" - # Facebook - facebook_page = "mistergeek.fr" - youtube_channel = "UCXXXXXXXXXXXXXXXXXXX" + facebook_page = "mistergeekfrance" + # youtube_channel = "UCXXXXXXXXXXXXXXXXXXX" # Search Engine Verification # google_verification = "your-google-verification-code" @@ -48,14 +47,14 @@ ignoreLogs = ["warning-goldmark-raw-html"] # yandex_verification = "your-yandex-verification-code" # Local SEO - [params.seo.local] - enabled = true - country = "FR" - language = "fr" - region = "Île-de-France" - city = "Paris" - latitude = "48.8566" - longitude = "2.3522" + # [params.seo.local] + # enabled = true + # country = "FR" + # language = "fr" + # region = "Île-de-France" + # city = "Paris" + # latitude = "48.8566" + # longitude = "2.3522" # Rich snippets enable_search_box = true diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6bf95d7..7c02800 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,73 +1,62 @@ {{ define "main" }} +
{{ .Site.Params.seo.description }}
{{ .Params.excerpt }}
+ {{ else if .Summary }} +{{ .Summary }}
+ {{ else }} +{{ truncate 200 .Content }}
+ {{ end }} +{{ .Params.excerpt }}
- {{ else if .Summary }} -{{ .Summary }}
- {{ else }} -{{ truncate 200 .Content }}
- {{ end }} -Cette page répertorie toutes les catégories de notre site, offrant une vue d'ensemble structurée de notre contenu.
{{ .description | safeHTML }}
{{ .Site.Params.seo.description }}
+{{ .Params.excerpt }}
{{ else if .Summary }} @@ -74,4 +58,4 @@Retrouvez toutes les pages utiles du site ici.
{{ .Params.excerpt }}
{{ else if .Summary }} diff --git a/layouts/partials/categories-first.html b/layouts/partials/categories-first.html new file mode 100644 index 0000000..61754a2 --- /dev/null +++ b/layouts/partials/categories-first.html @@ -0,0 +1,13 @@ +