change siteRootUrl to site.homeUrl
authorDan Allen <dan@opendevise.com>
Wed, 7 Mar 2018 11:06:23 +0000 (04:06 -0700)
committerDan Allen <dan@opendevise.com>
Wed, 7 Mar 2018 11:06:23 +0000 (04:06 -0700)
src/partials/toolbar.hbs

index 451c38b..b4d427e 100644 (file)
@@ -1,7 +1,7 @@
 <div class="toolbar" role="navigation">
   <button class="navigation-toggle"></button>
-  {{#if siteRootUrl}}
-  <a href="{{siteRootUrl}}" class="home-link{{#if page.home}} is-current{{/if}}"></a>
+  {{#if site.homeUrl}}
+  <a href="{{relativize page.url site.homeUrl}}" class="home-link{{#if page.home}} is-current{{/if}}"></a>
   {{/if}}
 {{> breadcrumbs}}
 {{> page-versions}}