From e8966f703a2ef93e54beeb969602831d2a98b1ab Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 11 May 2019 15:41:13 +0100 Subject: [PATCH] fix(shortcode): remove Hugo 0.55+ deprecation warning for Gallery Fix #1074 --- layouts/shortcodes/gallery.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html index 1d4340e3..b87dbe6d 100644 --- a/layouts/shortcodes/gallery.html +++ b/layouts/shortcodes/gallery.html @@ -50,7 +50,7 @@ {{end}} {{else}} - {{ errorf "Unable to load gallery in %s." .Page.Filename }} + {{ errorf "Unable to load gallery in %s." .Page.File.Filename }} {{end}} {{end}} \ No newline at end of file