Przeglądaj źródła

fix(shortcode): remove Hugo 0.55+ deprecation warning for Gallery

Fix #1074
George Cushen 6 lat temu
rodzic
commit
e8966f703a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      layouts/shortcodes/gallery.html

+ 1 - 1
layouts/shortcodes/gallery.html

@@ -50,7 +50,7 @@
   </a>
   {{end}}
   {{else}}
-    {{ errorf "Unable to load gallery in %s." .Page.Filename }}
+    {{ errorf "Unable to load gallery in %s." .Page.File.Filename }}
   {{end}}
   {{end}}
 </div>