From 46fa572237b3e88052206445a546c4de65b31fd6 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 5 Oct 2023 03:36:53 -0600 Subject: [PATCH] move component order lookup into nav-explore partial --- src/layouts/404.hbs | 2 +- src/layouts/default.hbs | 2 +- src/partials/nav-explore.hbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/404.hbs b/src/layouts/404.hbs index 945d7292..8caab1dc 100644 --- a/src/layouts/404.hbs +++ b/src/layouts/404.hbs @@ -5,7 +5,7 @@ {{> header}} -{{> body componentOrder=(dig (siteStartPage) 'asciidoc.attributes.page-component-order')}} +{{> body}} {{> footer}} diff --git a/src/layouts/default.hbs b/src/layouts/default.hbs index 8e68ca50..c5282ec1 100644 --- a/src/layouts/default.hbs +++ b/src/layouts/default.hbs @@ -5,7 +5,7 @@ {{> header}} -{{> body componentOrder=page.attributes.component-order}} +{{> body}} {{> footer}} diff --git a/src/partials/nav-explore.hbs b/src/partials/nav-explore.hbs index 40992cc3..73261fa1 100644 --- a/src/partials/nav-explore.hbs +++ b/src/partials/nav-explore.hbs @@ -6,7 +6,7 @@ {{/if}}