From ed5a5cb55ffd0dcae696355b4123947e3630ce1f Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 24 Sep 2025 14:36:55 +0200 Subject: Added the changes to use my own theme --- layouts/_default/baseof.html | 19 +++++++++++++++++++ layouts/_default/home.html | 3 +++ layouts/partials/custom_head.html | 6 ------ 3 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/home.html delete mode 100644 layouts/partials/custom_head.html (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..93eb168 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,19 @@ + + + + + + {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} + + + + +
+ {{ block "main" . }}{{ end }} +
+ + diff --git a/layouts/_default/home.html b/layouts/_default/home.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/_default/home.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html deleted file mode 100644 index f05a466..0000000 --- a/layouts/partials/custom_head.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file -- cgit v1.3.1