diff --git a/layouts/partials/paige/figure.html b/layouts/partials/paige/figure.html
index bea98cc2..0b212049 100644
--- a/layouts/partials/paige/figure.html
+++ b/layouts/partials/paige/figure.html
@@ -73,16 +73,16 @@
{{ if and (not $float) $style }}
{{ end }}
- {{ if $table }}
-
- {{ end }}
-
{{ $content }}
- {{ with $caption }}
-
{{ . }}
- {{ end }}
- {{ if $table }}
-
- {{ end }}
+ {{ if $table }}
+
+ {{ end }}
+
{{ $content }}
+ {{ with $caption }}
+
{{ . }}
+ {{ end }}
+ {{ if $table }}
+
+ {{ end }}
{{ if and (not $float) $style }}
{{ end }}