freedom/layouts/shortcodes/link-preview.html

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>