diff --git a/README.md b/README.md new file mode 100644 index 0000000..c251fe8 --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# Gokarna + +A minimal opinionated theme for Hugo + +![Gokarna theme](/docs/screenshot.png) + +## Features + +- Minimalistic & fast +- Customizable header +- Responsive +- Light/Dark theme toggle +- Native fonts +- Syntax highlighting +- Math typesetting +- SEO Ready + + +## Inspiration + +The theme is inspired by and accordingly named after [Gokarna](https://en.wikipedia.org/wiki/Gokarna,_Karnataka), a small and peaceful beach town on the west coast on India. + +![Gokarna](/docs/gokarna.jpg) + + +## Installation + +```sh +git submodule add https://github.com/526avijitgupta/gokarna.git themes/gokarna +``` + +## Customization + +- Navbar +- Footer +- Inject html + +## LICENSE + +Apache or MIT ? 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" diff --git a/docs/gokarna.jpg b/docs/gokarna.jpg new file mode 100644 index 0000000..5caa575 Binary files /dev/null and b/docs/gokarna.jpg differ 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 @@ + 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 @@