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 +++ 2 files changed, 22 insertions(+) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/home.html (limited to 'layouts/_default') 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 }} -- cgit v1.3.1