From 6de1ad4cdc8b1fb10cf0a5c61d5ed03893f131c1 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 5 Aug 2022 18:06:20 +0200 Subject: Show related content --- templates/layouts/exhibit.html | 2 ++ templates/layouts/page.html | 4 ++-- templates/partials/related.html | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 templates/partials/related.html (limited to 'templates') diff --git a/templates/layouts/exhibit.html b/templates/layouts/exhibit.html index fcc92a4..7a50635 100644 --- a/templates/layouts/exhibit.html +++ b/templates/layouts/exhibit.html @@ -53,6 +53,8 @@ $body$ + + $partials/related()$ diff --git a/templates/layouts/page.html b/templates/layouts/page.html index f26c4bc..b1f7835 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -30,8 +30,6 @@ $body$ $if(references)$ $endif$ + + $partials/related()$
diff --git a/templates/partials/related.html b/templates/partials/related.html new file mode 100644 index 0000000..b0d3f61 --- /dev/null +++ b/templates/partials/related.html @@ -0,0 +1,35 @@ +$if(related)$ + +$endif$ -- cgit v1.2.3-70-g09d2