1
1
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:
2026-05-19 14:40:13 -05:00
parent c2e570dfbd
commit 61e9096386
49 changed files with 169 additions and 167 deletions
+6 -1
View File
@@ -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>