Fix month substring
parent
ace6994baf
commit
40d0d344db
|
@ -55,7 +55,7 @@
|
|||
{{ end }}
|
||||
<div class="card-footer-item is-size-7">
|
||||
<time datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}">
|
||||
{{ .Date.Day }} {{ substr (index $.Site.Data.months_fr (printf "%d" .Date.Month)) 4 }} {{ .Date.Year }}
|
||||
{{ .Date.Day }} {{ slicestr (index $.Site.Data.months_fr (printf "%d" .Date.Month)) 0 3 }} {{ .Date.Year }}
|
||||
</time> — {{ div .FuzzyWordCount 230 }} minutes
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in New Issue