From 319d1a37434ed4f3482ce1f37c991ca230b074e9 Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Sun, 11 Mar 2018 12:30:00 +0300 Subject: Added custom header and footer the same way as in BeautifulHugo. --- layouts/index.html | 1 + layouts/partials/footer_custom.html | 4 ++++ layouts/partials/head.html | 1 + layouts/partials/head_custom.html | 4 ++++ 4 files changed, 10 insertions(+) create mode 100644 layouts/partials/footer_custom.html create mode 100644 layouts/partials/head_custom.html diff --git a/layouts/index.html b/layouts/index.html index 70b051f..92f02ab 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -38,5 +38,6 @@ {{ end }} {{ partial "scripts.html" . }} + {{- partial "footer_custom.html" . }} diff --git a/layouts/partials/footer_custom.html b/layouts/partials/footer_custom.html new file mode 100644 index 0000000..e123130 --- /dev/null +++ b/layouts/partials/footer_custom.html @@ -0,0 +1,4 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 9c9d2ab..a9e2630 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -9,3 +9,4 @@ {{ "" | safeHTML }} {{ "" | safeHTML }} +{{- partial "head_custom.html" . }} diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html new file mode 100644 index 0000000..554494a --- /dev/null +++ b/layouts/partials/head_custom.html @@ -0,0 +1,4 @@ + -- cgit v1.2.3