Final adjustements... I'm happy now.

master
Quentin Duchemin 2022-11-07 01:54:41 +01:00
parent 1de459fdac
commit fe13ce8d5e
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 5 additions and 5 deletions

View File

@ -29,8 +29,8 @@
</div> </div>
</div> </div>
<div class="hero-body {{ if not $background }}pb-0{{ end }} content container has-text-centered"> <div class="hero-body {{ if not $background }}pb-0{{ end }} container has-text-centered">
<p class="title is-size-1-desktop is-uppercase">{{ .Title }}</p> <p class="title is-size-1-desktop is-size-2-mobile is-uppercase">{{ .Title }}</p>
{{ with .Params.subtitle }} {{ with .Params.subtitle }}
<p class="subtitle is-size-2-desktop is-size-4-mobile">{{ . }}</p> <p class="subtitle is-size-2-desktop is-size-4-mobile">{{ . }}</p>
{{ end }} {{ end }}
@ -42,9 +42,9 @@
<div class="level-left"> <div class="level-left">
<div class="level-item has-text-left"> <div class="level-item has-text-left">
<time datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}"> <time datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}">
<p class="mb-2 subtitle is-size-5-desktop is-size-6-mobile">📅&nbsp;&nbsp;Article publié le <strong>{{ .Date.Day }} {{ index $.Site.Data.months_fr <p class="mb-2 subtitle is-size-5-desktop is-size-7-mobile">📅&nbsp;&nbsp;Article publié le <strong>{{ .Date.Day }} {{ index $.Site.Data.months_fr
(printf "%d" .Date.Month) }} {{ .Date.Year }}</strong></p> (printf "%d" .Date.Month) }} {{ .Date.Year }}</strong></p>
<p class="subtitle is-size-5-desktop is-size-6-mobile">✏️&nbsp;&nbsp;Dernière modification le <strong>{{ .Lastmod.Day }} {{ index $.Site.Data.months_fr <p class="subtitle is-size-5-desktop is-size-7-mobile">✏️&nbsp;&nbsp;Dernière modification le <strong>{{ .Lastmod.Day }} {{ index $.Site.Data.months_fr
(printf "%d" .Lastmod.Month) }} {{ .Lastmod.Year }}</strong></p> (printf "%d" .Lastmod.Month) }} {{ .Lastmod.Year }}</strong></p>
</time> </time>
</div> </div>
@ -52,7 +52,7 @@
<div class="level-right is-hidden-touch"> <div class="level-right is-hidden-touch">
<div class="level-item has-text-right"> <div class="level-item has-text-right">
<div> <div>
<p class="mb-2 subtitle is-size-5-desktop is-size-6-mobile">🕑&nbsp;&nbsp;Environ <strong>{{ div .FuzzyWordCount 230 }} minutes</strong> de lecture <p class="mb-2 subtitle is-size-5-desktop is-size-7-mobile">🕑&nbsp;&nbsp;Environ <strong>{{ div .FuzzyWordCount 230 }} minutes</strong> de lecture
</p> </p>
<p>#&nbsp;<strong>{{ .FuzzyWordCount }} mots</strong></p> <p>#&nbsp;<strong>{{ .FuzzyWordCount }} mots</strong></p>
</div> </div>