mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2026-05-30 23:19:14 +00:00
style: Add logos to recommendation cards
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
{{- $logo := .Get "logo" -}}
|
||||
|
||||
<div class="pg:title-card hx:last-of-type:mb-0 hx:rounded-lg hx:p-6 hx:mt-4 hx:group">
|
||||
{{ .InnerDeindent | $.Page.RenderString (dict "display" "block" "markup" "goldmark") }}
|
||||
{{- with $logo -}}
|
||||
<img loading="lazy" decoding="async" src="{{ $logo | safeURL }}" aria-hidden="true" width="100" height="100">
|
||||
{{- end -}}
|
||||
{{ .InnerDeindent | $.Page.RenderString (dict "display" "block") }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user