From de54cd720517809c5d6f518101ea209ed3a01722 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 22 Jan 2023 23:28:57 -0800 Subject: [PATCH] Simplify figure HTML --- layouts/partials/paige/figure.html | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/layouts/partials/paige/figure.html b/layouts/partials/paige/figure.html index 156ddcb5..6afcc0e4 100644 --- a/layouts/partials/paige/figure.html +++ b/layouts/partials/paige/figure.html @@ -64,21 +64,17 @@ {{ end }} {{ end }} -
- {{ if and (not $float) $style }} -
- {{ end }} - {{ if $table }} -
- {{ end }} -
{{ $content }}
- {{ if $showcaption }} -
{{ $caption }}
- {{ end }} - {{ if $table }} -
- {{ end }} - {{ if and (not $float) $style }} -
- {{ end }} +
+
+ {{ if $table }} +
+ {{ end }} +
{{ $content }}
+ {{ if $showcaption }} +
{{ $caption }}
+ {{ end }} + {{ if $table }} +
+ {{ end }} +