feat: Add FontAwesome thumbnail badges
This commit is contained in:
parent
9d60376948
commit
2e0f140e0a
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
{{ with .Param "fa-thumbnail" }}
|
||||||
|
<div class="thumb-icon-wrapper mb-3">
|
||||||
|
<span class="badge thumb-icon-badge rounded-pill bg-primary py-4 px-5">
|
||||||
|
<i class="fa-fw {{ . }}"></i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{/* Thumbnail images should be stored as 'thumbnail'.* in the page bundle, but
|
{{/* Thumbnail images should be stored as 'thumbnail'.* in the page bundle, but
|
||||||
historically they might have been referenced as 'thumbnail' in the front
|
historically they might have been referenced as 'thumbnail' in the front
|
||||||
matter, or (even more historically) as 'cardImage'. Use scratch to
|
matter, or (even more historically) as 'cardImage'. Use scratch to
|
||||||
|
|
Loading…
Reference in a new issue