valor/layouts/shortcodes/link-preview.html

11 lines
178 B
HTML
Raw Normal View History

2022-08-17 14:47:54 -04:00
<a href="{{ .Get 0 }}" class="link-preview">
2022-11-09 15:44:31 -05:00
{{if .Get 3}}
2022-08-17 14:47:54 -04:00
<img src='{{.Get 3}}'>
2022-11-09 15:44:31 -05:00
{{end}}
2022-08-17 14:47:54 -04:00
<div>
<h3>{{ .Get 1 }}</h3>
<p>{{.Get 2 }}</p>
</div>
</a>