From 1f18753b7c3b09d9a1c75fd7845f816f3fbd3184 Mon Sep 17 00:00:00 2001 From: edi Date: Tue, 23 Jan 2024 21:53:35 +0100 Subject: [PATCH] Links mit Bild eingebaut --- layouts/shortcodes/extlink.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }}