From fb5b8ef00b74af2f2df9fe77937165eb04d18118 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 May 2022 16:29:00 +0200 Subject: Provide an ability to use hreflang attribute in raw links --- layouts/shortcodes/img.html | 6 +++++- layouts/shortcodes/link.html | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 3d2b03f..4978358 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -1 +1,5 @@ -{{.}} +{{ . }} diff --git a/layouts/shortcodes/link.html b/layouts/shortcodes/link.html index b6993ec..3778d83 100644 --- a/layouts/shortcodes/link.html +++ b/layouts/shortcodes/link.html @@ -1 +1,8 @@ -{{ .Inner }} + + {{- .Inner -}} + -- cgit v1.2.3