Adding link emoji to links in post titles

This commit is contained in:
shockrah 2024-03-24 18:24:56 -07:00
parent 265ab4b53b
commit 9a4a749f0a

View File

@ -30,7 +30,10 @@
{{ $opt := mod $i (len $colors) }} {{ $opt := mod $i (len $colors) }}
<div class="card" style="border-color: {{ index $colors $opt }}"> <div class="card" style="border-color: {{ index $colors $opt }}">
<a href="{{ anchorize .Page.Name }}"> <a href="{{ anchorize .Page.Name }}">
<h5 class="card-header postcard card-title">{{ .Title }}</h5> <h5 class="card-header postcard card-title">
{{ .Title }}
{{ emojify ":link:" }}
</h5>
</a> </a>
<div class="card-body postcard"> <div class="card-body postcard">
{{ if .Page.Params.Article }} {{ if .Page.Params.Article }}