Fix hard wraps and remove word count/update date
parent
5dbc232f3c
commit
27a6685fbc
|
@ -68,16 +68,14 @@
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
{{ with .PrevInSection }}
|
{{ with .PrevInSection }}
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">« {{
|
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">« {{ .Title }}</a>
|
||||||
.Title }}</a>
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
{{ with .NextInSection }}
|
{{ with .NextInSection }}
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">{{
|
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">{{ .Title }} »</a>
|
||||||
.Title }} »</a>
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -58,8 +58,7 @@
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<time datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}">
|
<time datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}">
|
||||||
{{ .Date.Day }} {{ slicestr (index $.Site.Data.months_fr (printf "%d" .Date.Month)) 0 3 }} {{ .Date.Year
|
{{ .Date.Day }} {{ slicestr (index $.Site.Data.months_fr (printf "%d" .Date.Month)) 0 3 }} {{ .Date.Year }}
|
||||||
}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
|
|
|
@ -19,8 +19,7 @@
|
||||||
{{ with .Params.categories }}
|
{{ with .Params.categories }}
|
||||||
<div class="tags colums is-vcentered">
|
<div class="tags colums is-vcentered">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<span class="tag is-info is-light is-large mr-4"><a href="{{ " categories" | absURL }}/{{ . | urlize
|
<span class="tag is-info is-light is-large mr-4"><a href="{{ " categories" | absURL }}/{{ . | urlize }}">{{ . }}</a></span>
|
||||||
}}">{{ . }}</a></span>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -42,19 +41,15 @@
|
||||||
<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-7-mobile">📅 Article publié le <strong>{{ .Date.Day }} {{ index $.Site.Data.months_fr
|
<p class="mb-2 subtitle is-size-5-desktop is-size-7-mobile">📅 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-7-mobile">✏️ Dernière modification le <strong>{{ .Lastmod.Day }} {{ index $.Site.Data.months_fr
|
|
||||||
(printf "%d" .Lastmod.Month) }} {{ .Lastmod.Year }}</strong></p>
|
|
||||||
</time>
|
</time>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right is-hidden-touch">
|
<div class="level-right">
|
||||||
<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-7-mobile">🕑 Environ <strong>{{ div .FuzzyWordCount 230 }} minutes</strong> de lecture
|
<p class="mb-2 subtitle is-size-5-desktop is-size-7-mobile">🕑 Environ <strong>{{ div .FuzzyWordCount 230 }} minutes</strong> de lecture
|
||||||
</p>
|
</p>
|
||||||
<p class="subtitle is-size-5-desktop is-size-7-mobile">#️ <strong>{{ .FuzzyWordCount }} mots</strong></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue