From: Dan Allen Date: Fri, 23 Mar 2018 08:26:52 +0000 (-0600) Subject: set generator if antoraVersion is set in UI model X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=aeb0d0c98a8b4b74a99732a91c64836d3f5dbef0;p=eg-antora.git set generator if antoraVersion is set in UI model --- diff --git a/preview-site-src/ui-model.yml b/preview-site-src/ui-model.yml index 84e548d..20a364f 100644 --- a/preview-site-src/ui-model.yml +++ b/preview-site-src/ui-model.yml @@ -1,3 +1,4 @@ +antoraVersion: '1.0.0' site: url: http://localhost:5252 title: Brand Docs diff --git a/src/layouts/default.hbs b/src/layouts/default.hbs index 850a3b2..6b30502 100644 --- a/src/layouts/default.hbs +++ b/src/layouts/default.hbs @@ -13,6 +13,9 @@ {{#if page.keywords}} {{/if}} + {{#if (or antoraVersion site.antoraVersion)}} + + {{/if}} {{> head}}