diff --git a/layouts/shortcodes/extlink.html b/layouts/shortcodes/extlink.html index 8d6756c..c3128e0 100644 --- a/layouts/shortcodes/extlink.html +++ b/layouts/shortcodes/extlink.html @@ -1 +1,3 @@ -{{ .Get "name" }}↗ +{{ $height := .Get "height" | default "22px" }} + +{{ with .Get "img" }}{{ end }}{{ with .Get "name" }}{{ . }}{{ end }}{{ if .Get "name" }}↗{{ end }}