From 900a707fdcb04e5739126ec2509fdc39fee7491c Mon Sep 17 00:00:00 2001 From: Marc Pervaz Boocha Date: Sun, 7 Apr 2024 19:43:04 +0530 Subject: Rewrote Site in 11ty Still need to Update the content --- _includes/base.html | 47 +++++++++++++++++++++++++++++++++++++++++++++++ _includes/page.html | 9 +++++++++ _includes/post.html | 21 +++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 _includes/base.html create mode 100644 _includes/page.html create mode 100644 _includes/post.html (limited to '_includes') diff --git a/_includes/base.html b/_includes/base.html new file mode 100644 index 0000000..36d9821 --- /dev/null +++ b/_includes/base.html @@ -0,0 +1,47 @@ +---json +{ +"date": "git Created" +} +--- + + + + + + + + + {{ title or metadata.title }} + + + + + + + + + + + + {%- css %}{% include "assets/main.css" %}{% endcss %} + + + + +
+ +
+
+ {{ content |safe }} +
+ + + + diff --git a/_includes/page.html b/_includes/page.html new file mode 100644 index 0000000..77f888b --- /dev/null +++ b/_includes/page.html @@ -0,0 +1,9 @@ +---json +{ +"layout": "base.html" +} +--- +
+

{{ title }}

+ {{ content | safe }} +
diff --git a/_includes/post.html b/_includes/post.html new file mode 100644 index 0000000..bbe28d9 --- /dev/null +++ b/_includes/post.html @@ -0,0 +1,21 @@ +---json +{ +"layout": "base.html", +"tags": [ +"post" +] +} +--- +
+

{{ title }}

+ + + - + +
{{ content | safe }}
+
-- cgit v1.2.3-70-g09d2