diff --git a/config.toml b/config.toml deleted file mode 100644 index ec6dfec..0000000 --- a/config.toml +++ /dev/null @@ -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" diff --git a/hugo.toml b/hugo.toml index 1cc2af3..0bc0c82 100644 --- a/hugo.toml +++ b/hugo.toml @@ -9,7 +9,7 @@ favicon = "images/logos/favicon.png" theme = "silhouette-hugo" author = "Grégory Lebreton" -paginate = 3 +pagination.pagerSize = 3 relativeURLs = false canonifyURLs = true diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8470a30..684713e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,11 +16,19 @@ - {{ $styles := resources.Get "css/styles.css" }} + {{ $style := resources.Get "css/styles.css" }} {{ $syntax := resources.Get "css/syntax.css" }} - {{ $styles := slice $styles $syntax | resources.Concat "css/bundle.css" | minify | fingerprint }} - + {{ $bundle := slice $style $syntax + | resources.Concat "css/bundle.css" + | minify + | fingerprint + }} + + + {{ block "head" . }}{{ end }}