From: Dan Allen Date: Wed, 3 Jan 2018 00:18:37 +0000 (-0700) Subject: format Handlebars templates to make them more readable X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=147babd6da963678721a5865d7f6f04271678886;p=eg-antora.git format Handlebars templates to make them more readable --- diff --git a/src/partials/breadcrumbs.hbs b/src/partials/breadcrumbs.hbs index 282b292..bee715a 100644 --- a/src/partials/breadcrumbs.hbs +++ b/src/partials/breadcrumbs.hbs @@ -6,11 +6,13 @@ {{/unless}} {{/if}} {{#each page.breadcrumbs}} - {{#if (and ./url (eq ./urlType 'internal'))}} -
  • {{{./content}}}
  • - {{else}} -
  • {{{./content}}}
  • - {{/if}} +
  • + {{~#if (and ./url (eq ./urlType 'internal'))~}} + {{{./content}}} + {{~else~}} + {{{./content}}} + {{~/if~}} +
  • {{/each}} diff --git a/src/partials/navigation-explore.hbs b/src/partials/navigation-explore.hbs index aca6f5e..9b15841 100644 --- a/src/partials/navigation-explore.hbs +++ b/src/partials/navigation-explore.hbs @@ -9,7 +9,9 @@ {{{./title}}}