|
||
---|---|---|
archetypes | ||
exampleSite | ||
i18n | ||
images | ||
layouts | ||
static | ||
.gitignore | ||
LICENSE | ||
README.md | ||
screenshot.py | ||
theme.toml |
README.md
A Gokarna fork
This fork contains features which do not meet with upstream design goals.
-
Display a Licence Header
Add a Markdown string to
copyright
inconfig.toml
, for example:copyright = "This page is licensed under a [Creative Commons Attribution-NoDerivatives 4.0 International License](https://creativecommons.org/licenses/by-nd/4.0/)."
-
Show the date when the page was Last Modified
Assign a date to
lastmod
in the post YAML, for example:lastmod: 2021-12-30
-
Expose accurate copyright dates
Copyright dates are inferred on Pages and Posts using
.Date
and.Lastmod
.Copyright dates are omitted from all other pages by default, but can be enabled to use the implicit
.Date
assigned at build time:[params] toggleImplicitCopyrightYears = "true"
Gokarna
Gokarna is an opinionated theme with a focus on minimalism and simplicity.
Authors:
Demo: https://gokarna-hugo.netlify.app
Support the developer
Features
- Minimalistic & fast
- Customizable header
- Responsive
- Available in light and dark themes
- Native fonts and support for feather icons and svg icons
- Syntax highlighting
- SEO Ready
- Table of contents which can be configured per page
- Option to add custom javascript and css
- RSS Feed
- Math typesetting using Katex
Screenshots
Homepage
Light Mode | Dark Mode |
---|---|
![]() |
![]() |
Post page
Light Mode | Dark Mode |
---|---|
![]() |
![]() |
List page
Light Mode | Dark Mode |
---|---|
![]() |
![]() |
Installation
Follow details installation steps in the documentation here
git submodule add https://github.com/526avijitgupta/gokarna.git themes/gokarna
Customization
For a complete guide on customization, please go through our basic and advanced theme documentation. A gist of things you can customize:
- Navigation menu
- Avatar image and size
- Accent color
- Theme mode (Auto, Light & Dark)
- Custom HTML in head and footer section for loading any scripts
- Syntax highlighting
- Option to show posts recent or popular homepage.
- Footer
Inspiration
The theme is inspired by and accordingly named after Gokarna, a small and peaceful beach town on the west coast on India.
Performance
Google Lighthouse check score: 100%
LICENSE
This code is licensed under GNU GPLv3