sidebar: use embed for vExpert badge

This commit is contained in:
John Bowdre 2023-02-17 13:30:03 -06:00
parent ac1f90c800
commit 30ca751dea

View file

@ -28,7 +28,7 @@
{{ markdownify $introDescription }} {{ markdownify $introDescription }}
</div> </div>
<div> <div>
<a href="https://vexpert.vmware.com/directory/9430"><img class="sidebar_badge" src="/logos/vexpert.png" alt="VMware vExpert"></a> <a href="https://vexpert.vmware.com/directory/9430"><img src="https://vexpert.vmware.com/directory/9430/vexpert-badge-year.png" class="sidebar_badge" alt="vExpert Badge" title="vExpert Badge" /></a>
</div> </div>
{{- if ( ne $s.introURL false ) }} {{- if ( ne $s.introURL false ) }}
{{- $r := T "read_more" }} {{- $r := T "read_more" }}
@ -37,11 +37,11 @@
{{- end }} {{- end }}
{{ if .Site.Params.sidebardisclaimer }} {{ if .Site.Params.sidebardisclaimer }}
<div class="sidebardisclaimer"> <div class="sidebardisclaimer">
<h2 class="mt-4">Disclaimer</h2> <h2 class="mt-4">Disclaimer</h2>
{{ .Site.Params.disclaimerText }} {{ .Site.Params.disclaimerText }}
</div> </div>
{{ end }} {{ end }}
{{- $relatedInSidebar := true }} {{- $relatedInSidebar := true }}
{{- if eq $s.showRelatedInSidebar false }} {{- if eq $s.showRelatedInSidebar false }}