diff --git a/layouts/partials/picture.html b/layouts/partials/picture.html
index 21b9cb524..790667c7d 100644
--- a/layouts/partials/picture.html
+++ b/layouts/partials/picture.html
@@ -24,14 +24,14 @@
{{ end }}
{{ end }}
{{ if (eq "" $width $height) }}
- {{ warnf "[CONGO] Can't detect width and height for SVG %s" .RelPermalink }}
+ {{ warnf "[CONGO] Can't detect width and height for SVG %s" .Permalink }}
{{/* do not use lazy without dimensions */}}
{{ $lazy = false }}
{{ end }}
![]({{ .RelPermalink }})