Skip to content

Commit

Permalink
Add note-end hook for customizing footer area
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 19, 2021
1 parent fd772bb commit e0229f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions default/templates/hooks/note-end.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- What goes in this file will at the very end of the main div -->
1 change: 1 addition & 0 deletions default/templates/layouts/book.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
<apply template="components/backlinks" />
</div>
<apply template="components/metadata" />
<apply template="/templates/hooks/note-end" />
</main>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions default/templates/layouts/note.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<apply template="components/timeline" />
<apply template="components/backlinks" />
<apply template="components/metadata" />
<apply template="/templates/hooks/note-end" />
</main>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion emanote.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: emanote
version: 0.1.58.0
version: 0.1.59.0
license: AGPL-3.0-only
copyright: 2021 Sridhar Ratnakumar
maintainer: srid@srid.ca
Expand Down

0 comments on commit e0229f1

Please sign in to comment.