mirror of
https://github.com/adulau/sillon-fictionnel.git
synced 2024-11-27 20:47:09 +00:00
46 lines
2.5 KiB
HTML
46 lines
2.5 KiB
HTML
<div class="text-center text-muted mb-1">
|
|
{{ with .Params.Author }}
|
|
<span class="d-inline-flex align-items-center small mx-2">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" class="bi bi-person-fill me-1" viewBox="0 0 16 16">
|
|
<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
|
|
</svg>
|
|
{{ . }}
|
|
</span>
|
|
{{ end }}
|
|
{{ with .ReadingTime }}
|
|
<span class="d-inline-flex align-items-center small mx-2">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" class="bi bi-stopwatch-fill me-1" viewBox="0 0 16 16">
|
|
<path d="M6.5 0a.5.5 0 0 0 0 1H7v1.07A7.001 7.001 0 0 0 8 16a7 7 0 0 0 5.29-11.584.531.531 0 0 0 .013-.012l.354-.354.353.354a.5.5 0 1 0 .707-.707l-1.414-1.415a.5.5 0 1 0-.707.707l.354.354-.354.354a.717.717 0 0 0-.012.012A6.973 6.973 0 0 0 9 2.071V1h.5a.5.5 0 0 0 0-1h-3zm2 5.6V9a.5.5 0 0 1-.5.5H4.5a.5.5 0 0 1 0-1h3V5.6a.5.5 0 1 1 1 0z"/>
|
|
</svg>
|
|
{{ . }} minute(s) de lecture possible
|
|
</span>
|
|
{{ end }}
|
|
{{ with .Date }}
|
|
<span class="d-inline-flex align-items-center small mx-2">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" class="bi bi-calendar-fill me-1" viewBox="0 0 16 16">
|
|
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z"/>
|
|
</svg>
|
|
{{ . | time.Format ":date_full" }}
|
|
</span>
|
|
{{ end }}
|
|
{{ with .WordCount }}
|
|
<span class="d-inline-flex align-items-center small mx-2">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" class="bi bi-text-left me-1" viewBox="0 0 16 16">
|
|
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
</svg>
|
|
{{ . }} mots et d'autres choses
|
|
</span>
|
|
<br />
|
|
{{ end }}
|
|
{{ with .Params.tags }}
|
|
<i class="fa-solid fa-tags"></i>
|
|
{{ end }}
|
|
{{ range .Params.tags }}
|
|
<a href="/tags/{{ . }}">{{ . }}</a>
|
|
{{ end }}
|
|
{{ if .IsPage }}
|
|
{{ with .Page.File.Path }}
|
|
  <a href='https://github.com/adulau/sillon-fictionnel/edit/main/content/{{ . }}' class="btn"><i class="fa-solid fa-pencil"></i></a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|