Fix hard wraps and remove word count/update date
parent
5dbc232f3c
commit
27a6685fbc
|
@ -68,16 +68,14 @@
|
|||
<div class="level-left">
|
||||
{{ with .PrevInSection }}
|
||||
<div class="level-item">
|
||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">« {{
|
||||
.Title }}</a>
|
||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">« {{ .Title }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="level-right">
|
||||
{{ with .NextInSection }}
|
||||
<div class="level-item">
|
||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">{{
|
||||
.Title }} »</a>
|
||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ .Permalink }}">{{ .Title }} »</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
|
@ -58,8 +58,7 @@
|
|||
<div class="level-right">
|
||||
<div class="level-item">
|
||||
<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 class="level-left">
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
{{ with .Params.categories }}
|
||||
<div class="tags colums is-vcentered">
|
||||
{{ range . }}
|
||||
<span class="tag is-info is-light is-large mr-4"><a href="{{ " categories" | absURL }}/{{ . | urlize
|
||||
}}">{{ . }}</a></span>
|
||||
<span class="tag is-info is-light is-large mr-4"><a href="{{ " categories" | absURL }}/{{ . | urlize }}">{{ . }}</a></span>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -42,19 +41,15 @@
|
|||
<div class="level-left">
|
||||
<div class="level-item has-text-left">
|
||||
<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
|
||||
(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>
|
||||
<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>
|
||||
</time>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right is-hidden-touch">
|
||||
<div class="level-right">
|
||||
<div class="level-item has-text-right">
|
||||
<div>
|
||||
<p class="mb-2 subtitle is-size-5-desktop is-size-7-mobile">🕑 Environ <strong>{{ div .FuzzyWordCount 230 }} minutes</strong> de lecture
|
||||
</p>
|
||||
<p class="subtitle is-size-5-desktop is-size-7-mobile">#️ <strong>{{ .FuzzyWordCount }} mots</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue