diff options
| author | Dan Allen <dan@opendevise.com> | 2018-02-06 23:07:07 -0700 |
|---|---|---|
| committer | Sarah White <graphitefriction@gmail.com> | 2018-02-07 10:55:37 -0700 |
| commit | 811cf4f0d33255d848117c454e1142074723d05b (patch) | |
| tree | 50240a90a6958ec869af196cfa3798d72c60a291 /src/partials | |
| parent | a6e9333d24e13fa8ae2c51a3f2997a8e96d0d4da (diff) | |
| download | alpine-antora-theme-811cf4f0d33255d848117c454e1142074723d05b.tar.bz2 alpine-antora-theme-811cf4f0d33255d848117c454e1142074723d05b.tar.xz | |
don't show edit this page if page.editUrl is not set
Diffstat (limited to 'src/partials')
| -rw-r--r-- | src/partials/toolbar.hbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/partials/toolbar.hbs b/src/partials/toolbar.hbs index 601f479..451c38b 100644 --- a/src/partials/toolbar.hbs +++ b/src/partials/toolbar.hbs @@ -5,5 +5,7 @@ {{/if}} {{> breadcrumbs}} {{> page-versions}} + {{#if page.editUrl}} <div class="edit-this-page"><a href="{{page.editUrl}}">Edit this Page</a></div> + {{/if}} </div> |
