From 96f4778b558c29207b766e88ae9c62c038e7e2e3 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 15 May 2022 14:35:35 +0200 Subject: Move footer to common place --- layouts/partials/footer.html | 11 +++++++++++ layouts/partials/sidebar-toc.html | 7 +------ layouts/partials/sidebar.html | 11 +---------- 3 files changed, 13 insertions(+), 16 deletions(-) create mode 100644 layouts/partials/footer.html diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..c0a6d49 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,11 @@ + diff --git a/layouts/partials/sidebar-toc.html b/layouts/partials/sidebar-toc.html index ee3a6f9..da7fd93 100644 --- a/layouts/partials/sidebar-toc.html +++ b/layouts/partials/sidebar-toc.html @@ -18,10 +18,5 @@ {{ end }} - + {{ partial "footer" . }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 57bca9d..e6e4bd3 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -21,14 +21,5 @@ {{/* TODO: Add hypothesis support */}} - + {{ partial "footer" . }} -- cgit v1.2.3