valor/layouts/shortcodes/link-preview.html
2022-11-09 15:44:31 -05:00

10 lines
178 B
HTML

<a href="{{ .Get 0 }}" class="link-preview">
{{if .Get 3}}
<img src='{{.Get 3}}'>
{{end}}
<div>
<h3>{{ .Get 1 }}</h3>
<p>{{.Get 2 }}</p>
</div>
</a>