Skip to content

Commit

Permalink
ensure website icon is displayed even if there are no social media ac…
Browse files Browse the repository at this point in the history
…counts #392
  • Loading branch information
Abbe98 committed May 31, 2024
1 parent 62de820 commit 48bbd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/social-icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $details := index (query "organization-optional.rq" .) 0 -}}

{{- $preview_count := 0 -}}
{{- if len $socialAccounts -}}
{{- if or (len $socialAccounts) $details.website -}}
<ul>
{{- if $details.website -}}
<li><a rel="" title="Website" href="{{ $details.website }}"><img loading="lazy" width="20" height="20" aria-hidden="true" src="/social-icons/website.svg" /></a></li>
Expand Down

0 comments on commit 48bbd0f

Please sign in to comment.