ataricode.com/layouts/shortcodes/abstab.html

9 lines
248 B
HTML

<!-- Assumes that a complete absolute url is being passed from the post, and does nothing to modify it -->
<a href='{{ .Get "url" }}' target="_blank">
{{ with .Get "title" }}
{{.}}
{{else}}
{{ .Get "url" }}
{{end}}
</a>