From bb4a9adaa2a4a2178135ad6e2a3ec368a9048656 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Sun, 13 Jun 2021 13:33:12 +0530 Subject: [PATCH 1/3] Cleanup unused files --- archetypes/default.md | 6 ------ config.toml | 3 --- 2 files changed, 9 deletions(-) delete mode 100644 archetypes/default.md delete mode 100644 config.toml diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/config.toml b/config.toml deleted file mode 100644 index e4b7418..0000000 --- a/config.toml +++ /dev/null @@ -1,3 +0,0 @@ -baseURL = "http://example.org/" -languageCode = "en-us" -title = "My New Hugo Site" From 9a666fff9de0fb913e99f83fba58089c8795b2f1 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Sun, 13 Jun 2021 13:33:48 +0530 Subject: [PATCH 2/3] Footer html with basic styling --- exampleSite/config.toml | 3 +++ themes/gokarna/layouts/partials/footer.html | 7 +++++++ themes/gokarna/layouts/partials/header.html | 2 +- themes/gokarna/static/css/dark.css | 4 ++++ themes/gokarna/static/css/main.css | 10 ++++++++++ 5 files changed, 25 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0fc1c02..bd2c65a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,6 +10,9 @@ pygmentsStyle = "bw" pygmentsCodeFences = true pygmentsCodeFencesGuessSyntax = true +[params] + footer = "The Marauders" + [menu] [[menu.main]] name = "Home" diff --git a/themes/gokarna/layouts/partials/footer.html b/themes/gokarna/layouts/partials/footer.html index e69de29..e839222 100644 --- a/themes/gokarna/layouts/partials/footer.html +++ b/themes/gokarna/layouts/partials/footer.html @@ -0,0 +1,7 @@ +
+ © {{ now.Year }} {{ .Site.Params.Footer}} +
+ + Made with ❤️ using Gokarna + +
diff --git a/themes/gokarna/layouts/partials/header.html b/themes/gokarna/layouts/partials/header.html index 61427df..d558a45 100644 --- a/themes/gokarna/layouts/partials/header.html +++ b/themes/gokarna/layouts/partials/header.html @@ -8,7 +8,7 @@