From c391e09acc30698ce67b0a1560b5d0b4a0a6dc19 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sat, 4 Apr 2020 03:17:30 -0600 Subject: [PATCH] use #with instead of #if to retrieve Antora version --- src/partials/head-info.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/partials/head-info.hbs b/src/partials/head-info.hbs index d0a3653..71012a1 100644 --- a/src/partials/head-info.hbs +++ b/src/partials/head-info.hbs @@ -9,6 +9,6 @@ {{/if}} {{/if}} - {{#if (or antoraVersion site.antoraVersion)}} - - {{/if}} + {{#with (or antoraVersion site.antoraVersion)}} + + {{/with}} -- 2.11.0