diff --git a/config.yaml b/config.yaml index cb39a37..8a84462 100644 --- a/config.yaml +++ b/config.yaml @@ -8,7 +8,7 @@ languageCode: fr-fr languageName: Français watch: true paginate: 9 -title: Le blog de Quentin (Chosto) +title: Le blog de Quentin permalinks: # All pages under posts section will have this link structure diff --git a/content/_index.md b/content/_index.md index 7991128..3f000f1 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,4 +1,4 @@ --- title: Mon carnet web -subtitle: Quelques pensées à la mer cherchant chemin +subtitle: Pensées à la mer cherchant chemin --- diff --git a/themes/chosto/layouts/_default/_markup/render-heading.html b/themes/chosto/layouts/_default/_markup/render-heading.html index 4eb7169..6ece32d 100644 --- a/themes/chosto/layouts/_default/_markup/render-heading.html +++ b/themes/chosto/layouts/_default/_markup/render-heading.html @@ -1,3 +1,2 @@ - - + {{ .Text | safeHTML }} \ No newline at end of file diff --git a/themes/chosto/layouts/_default/single.html b/themes/chosto/layouts/_default/single.html index d432700..97f57fe 100644 --- a/themes/chosto/layouts/_default/single.html +++ b/themes/chosto/layouts/_default/single.html @@ -48,7 +48,7 @@ {{ with .Params.imgExplanation }}
- {{ . }} + {{ . | markdownify }}
{{ end }} diff --git a/themes/chosto/layouts/partials/header.html b/themes/chosto/layouts/partials/header.html index 1da853a..49706e4 100644 --- a/themes/chosto/layouts/partials/header.html +++ b/themes/chosto/layouts/partials/header.html @@ -2,8 +2,10 @@ {{ if not .Params.noheader }} {{ $background := in "page home" .Kind }} +{{ $page := eq "page" .Kind }} +{{ $home := eq "home" .Kind }}
-
+
@@ -27,7 +29,7 @@
-

{{ .Title }}

+

{{ .Title }}

{{ with .Params.subtitle }}

{{ . }}

{{ end }} diff --git a/themes/chosto/static/css/custom.css b/themes/chosto/static/css/custom.css index 9cba8c1..d299275 100644 --- a/themes/chosto/static/css/custom.css +++ b/themes/chosto/static/css/custom.css @@ -31,8 +31,8 @@ li[id*=fn] { flex-direction: column; } -/* Justify all content but not titles */ -p:not(.title, .subtitle) { +/* Justify all content but not titles nor figure captions */ +p:not(.title, .subtitle, figcaption p) { text-align: justify; } @@ -47,6 +47,7 @@ figcaption h4, figcaption p { font-weight: 400 !important; font-style: normal; line-height: 1.5 !important; + color: dimgray; } figure img {