diff --git a/layouts/404.html b/layouts/404.html
index 85dc70a433..7391ba39d5 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -15,7 +15,7 @@
{{ $title }}
{{- partialCached "favicon.html" . }}
- {{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) .RelPermalink $outputFormat }}
+ {{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}