4.3 KiB

A Gokarna fork

This fork contains features which do not meet with upstream design goals.

  1. Display a Licence Header

    Add a Markdown string to copyright in config.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/)."
  2. Show the date when the page was Last Modified

    Assign a date to lastmod in the post YAML, for example:

    lastmod: 2021-12-30
  3. 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:

      toggleImplicitCopyrightYears = "true"


Gokarna is an opinionated theme with a focus on minimalism and simplicity.


  1. Yash Mehrotra
  2. Avijit Gupta

Demo: https://gokarna-hugo.netlify.app

Support the developer

"Buy Me A Coffee"


  • 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



Light Mode Dark Mode
Light mode Dark mode

Post page

Light Mode Dark Mode
Light mode Dark mode

List page

Light Mode Dark Mode
Light mode Dark mode


Follow details installation steps in the documentation here

git submodule add https://github.com/526avijitgupta/gokarna.git themes/gokarna


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


The theme is inspired by and accordingly named after Gokarna, a small and peaceful beach town on the west coast on India.



Google Lighthouse check score: 100%

Lighthouse Score


This code is licensed under GNU GPLv3