From 81ecfc21692145bacf8b1da3737bfab1ef50915f Mon Sep 17 00:00:00 2001 From: Nibir Sankar <68242099+moiSentineL@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:46:55 +0530 Subject: [PATCH] add include bloghead.njk for better templating --- src/_includes/archives.njk | 29 +---------------------------- src/_includes/bloghead.njk | 28 ++++++++++++++++++++++++++++ src/_includes/blogs.njk | 29 +---------------------------- 3 files changed, 30 insertions(+), 56 deletions(-) create mode 100644 src/_includes/bloghead.njk diff --git a/src/_includes/archives.njk b/src/_includes/archives.njk index ef3a6fb1..0a1895f5 100644 --- a/src/_includes/archives.njk +++ b/src/_includes/archives.njk @@ -2,34 +2,7 @@ title: Blog Archive layout: base.njk --- - -
-
-

Nibir's Brain Dump

-

Blog | Digital Garden

-
-
- +{% include "bloghead.njk" %}

diff --git a/src/_includes/bloghead.njk b/src/_includes/bloghead.njk new file mode 100644 index 00000000..e82c4ad1 --- /dev/null +++ b/src/_includes/bloghead.njk @@ -0,0 +1,28 @@ + +
+
+

Nibir's Brain Dump

+

Blog | Digital Garden

+
+
+ \ No newline at end of file diff --git a/src/_includes/blogs.njk b/src/_includes/blogs.njk index 5c155166..657bee6d 100644 --- a/src/_includes/blogs.njk +++ b/src/_includes/blogs.njk @@ -2,34 +2,7 @@ title: Nibir's Brain Dump layout: base.njk --- - -
-
-

Nibir's Brain Dump

-

Blog | Digital Garden

-
-
- +{% include "bloghead.njk" %}