From 85bd7302c516f62274ee0bdac85ebffb464132be Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 6 Dec 2018 16:51:06 -0700 Subject: [PATCH] show displayVersion instead of version for page / component --- src/partials/navigation-explore.hbs | 4 ++-- src/partials/page-versions.hbs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/partials/navigation-explore.hbs b/src/partials/navigation-explore.hbs index 7db70db..7a6d7ba 100644 --- a/src/partials/navigation-explore.hbs +++ b/src/partials/navigation-explore.hbs @@ -2,7 +2,7 @@ {{#if page.component}}
{{page.component.title}} - {{page.version}} + {{page.componentVersion.displayVersion}}
{{/if}} diff --git a/src/partials/page-versions.hbs b/src/partials/page-versions.hbs index 9439f83..51f6842 100644 --- a/src/partials/page-versions.hbs +++ b/src/partials/page-versions.hbs @@ -1,11 +1,11 @@ {{#if page.versions}}
- +
{{#each page.versions}} {{./version}} + {{~#if ./missing}} is-missing{{/if}}" href="{{{relativize @root.page.url ./url}}}">{{./displayVersion}} {{/each}}