From ea1c5bbe9ebafd4ff5db5b43d367edcbe0980c33 Mon Sep 17 00:00:00 2001 From: Joe LaPenna Date: Wed, 5 Jul 2023 22:14:24 -0700 Subject: [PATCH] Add links to edit posts/pages in line. --- default.hbs | 1 + page.hbs | 3 +++ post.hbs | 3 +++ 3 files changed, 7 insertions(+) diff --git a/default.hbs b/default.hbs index adc6a4621e..ecb7cdc511 100644 --- a/default.hbs +++ b/default.hbs @@ -87,6 +87,7 @@ + {{{block "edit-link"}}} diff --git a/page.hbs b/page.hbs index 216c17706c..82851cafe2 100644 --- a/page.hbs +++ b/page.hbs @@ -43,4 +43,7 @@ into the {body} tag of the default.hbs template --}} +{{#contentFor "edit-link"}} +Edit +{{/contentFor}} {{/post}} \ No newline at end of file diff --git a/post.hbs b/post.hbs index 326babe8d0..93019fa28b 100644 --- a/post.hbs +++ b/post.hbs @@ -119,4 +119,7 @@ into the {body} tag of the default.hbs template --}} {{/get}} {{/if}} +{{#contentFor "edit-link"}} +Edit +{{/contentFor}} {{/post}} \ No newline at end of file