commit 1965ee67881e75b9a23c6d2e27922cd70dffd576 parent df98056a86800e9be8ff1e20d8351e79ee0facce Author: David Eisinger <[email protected]> Date: Mon, 30 Oct 2023 11:02:52 -0400 Bold featured elsewhere posts Diffstat:
| M | themes/v2/layouts/elsewhere/list.html | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/themes/v2/layouts/elsewhere/list.html b/themes/v2/layouts/elsewhere/list.html @@ -12,7 +12,12 @@ {{ $host := strings.Replace $url.Hostname "www." "" }} <li> - <a href="{{ .Permalink }}">{{ .Title }}</a> + {{ if .Params.featured }} + <b><a href="{{ .Permalink }}">{{ .Title }}</a></b> + {{ else }} + <a href="{{ .Permalink }}">{{ .Title }}</a> + {{ end }} + <span class="nowrap"> (<a href="{{ $url }}">{{ $host }}</a>, {{ .Date | time.Format "2006-01-02" }}) </span>