From 15bccc698eba1706931e775954d3ccf0048dda3a Mon Sep 17 00:00:00 2001 From: desmukh Date: Tue, 27 Dec 2022 12:35:36 +0500 Subject: [PATCH] writing: refactor head content for writing as partial --- layouts/partials/head.html | 84 +----------------------------- layouts/partials/writing-head.html | 83 +++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 83 deletions(-) create mode 100644 layouts/partials/writing-head.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 301d948..a304658 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,88 +11,6 @@ {{ $title }} {{- partial "octocss.html" . -}} {{ if eq .Title "Writing" }} - - - - + {{ partial "writing-head"}} {{ end }} diff --git a/layouts/partials/writing-head.html b/layouts/partials/writing-head.html new file mode 100644 index 0000000..a96a991 --- /dev/null +++ b/layouts/partials/writing-head.html @@ -0,0 +1,83 @@ + + + +