diff options
Diffstat (limited to 'layouts/shortcodes/version.html')
-rw-r--r-- | layouts/shortcodes/version.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/shortcodes/version.html b/layouts/shortcodes/version.html index a6ca0d5a..fbe0f61a 100644 --- a/layouts/shortcodes/version.html +++ b/layouts/shortcodes/version.html @@ -8,4 +8,6 @@ {{- $res := resources.Get "svg/version.template.svg" -}} {{- $res = $res | resources.ExecuteAsTemplate $path (dict "version" $version "label" $label "color" $color) | minify -}} {{- $alt := printf "LoveIt %s | %s" $label $version -}} -<a href="{{ $url }}" rel="noopener noreffer" target="_blank">{{ partial "plugin/image.html" (dict "src" $res.RelPermalink "alt" $alt "class" "version") }}</a>
\ No newline at end of file +<a href="{{ $url }}" rel="noopener noreffer" target="_blank"> + {{- dict "src" $res.RelPermalink "alt" $alt "class" "version" | partial "plugin/image.html" -}} +</a>
\ No newline at end of file |