initialisation finale
This commit is contained in:
30
layouts/partials/featured-pages.html
Normal file
30
layouts/partials/featured-pages.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<div class="row row-cols-1 g-4">
|
||||
|
||||
{{ range .Site.Taxonomies.tags.featured }}
|
||||
<div class="col">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">
|
||||
<a class="stretched-link text-primary text-decoration-none" href="{{ .Permalink }}">
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</h4>
|
||||
<p class="text-text">
|
||||
{{ with .Params.description }}
|
||||
{{ . }}
|
||||
{{ else }}
|
||||
{{ .Summary | truncate 400 }}
|
||||
{{ end }}
|
||||
</p>
|
||||
<p class="text-text text-muted">
|
||||
<small>
|
||||
{{ .Lastmod | time.Format ":date_long" }}
|
||||
</small>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user