Update for new Hugo versions
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
3
layouts/_shortcodes/codeurl.html
Normal file
3
layouts/_shortcodes/codeurl.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{- $scratch := newScratch -}}
|
||||
{{- partial "geturl.html" (dict "scratch" $scratch "path" (.Get 0)) -}}
|
||||
{{- $scratch.Get "bestUrl" -}}
|
||||
Reference in New Issue
Block a user