gmgauthier.com/layouts/shortcodes/abstab.html

9 lines
248 B
HTML
Raw Permalink Normal View History

<!-- 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>