update config to ugo.toml + paginate deprecaeted
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
greg 2026-01-07 00:00:55 +01:00
parent 05cca16107
commit b15bfc41fc
3 changed files with 12 additions and 54 deletions

View File

@ -1,50 +0,0 @@
# Configuration de l'adresse, titre (onglet) et des chemins vers les contenus
baseurl = "https://gregandev.fr"
contentdir = "content"
layoutdir = "layouts"
publishdir = "public"
title = "Gregandev"
logo = "images/logos/logo.png"
favicon = "images/logos/favicon.png"
author = "Grégory Lebreton"
paginate = 3
relativeURLs = false
canonifyURLs = true
#disqusShortname = ""
#googleAnalytics = ""
[params]
author = "Grégory Lebreton"
introDescription = "Ingénieur Devops"
enableRobotsTXT = true
contentSharing = ""
[Params.social]
github = "greglebreton"
linkedin = "grégory-lebreton-996b261bb"
gitlab = "greglebreton"
email = "greg"
[Params.social.share]
linkedin = true
email = true
# CONFIG LANGAGE ET THEME
DefaultContentLanguage = "fr"
# theme = ["osm", "beautifulhugo"]
theme = "silhouette-hugo"
metaDataFormat = "yaml"
pygmentsUseClasses = true
pygmentCodeFences = true
# ICONES RESEAUX SOCIAUX
[Author]
name = "Greg Lebreton"
email = "contact@gregandev.fr"
# gitlab = "GregLebreton"
github = "GregLebreton"
linkedin = "grégory-lebreton-996b261bb"
itchio = "gregan"

View File

@ -9,7 +9,7 @@ favicon = "images/logos/favicon.png"
theme = "silhouette-hugo" theme = "silhouette-hugo"
author = "Grégory Lebreton" author = "Grégory Lebreton"
paginate = 3 pagination.pagerSize = 3
relativeURLs = false relativeURLs = false
canonifyURLs = true canonifyURLs = true

View File

@ -16,11 +16,19 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
{{ $styles := resources.Get "css/styles.css" }} {{ $style := resources.Get "css/styles.css" }}
{{ $syntax := resources.Get "css/syntax.css" }} {{ $syntax := resources.Get "css/syntax.css" }}
{{ $styles := slice $styles $syntax | resources.Concat "css/bundle.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" /> {{ $bundle := slice $style $syntax
| resources.Concat "css/bundle.css"
| minify
| fingerprint
}}
<link rel="stylesheet"
href="{{ $bundle.RelPermalink }}"
integrity="{{ $bundle.Data.Integrity }}">
{{ block "head" . }}{{ end }} {{ block "head" . }}{{ end }}
</head> </head>