A minimal opinionated theme for Hugo
 
 
 
 
Go to file
James Davidson dcc9c5e88c Merge remote-tracking branch 'upstream/main' 2023-04-16 18:28:05 +01:00
archetypes Rearchitect theme directory (#59) 2021-08-14 02:41:02 +05:30
exampleSite Fix typo in advanced documentation (#164) 2023-04-16 11:57:19 +05:30
i18n Add i18n strings and german translation (#150) 2023-01-01 18:40:01 +05:30
images Update screenshots and script theme rgb code (#73) 2021-09-07 19:47:33 +02:00
layouts Merge remote-tracking branch 'upstream/main' 2023-04-16 18:28:05 +01:00
static Merge remote-tracking branch 'upstream/main' 2023-02-18 16:41:29 +00:00
.gitignore Add table of contents. Fixes #85 (#95) 2022-05-29 22:14:06 +05:30
LICENSE Add LICENSE 2021-08-05 21:06:18 +05:30
README.md Merge remote-tracking branch 'upstream/main' 2023-04-16 18:28:05 +01:00
screenshot.py Update screenshots and script theme rgb code (#73) 2021-09-07 19:47:33 +02:00
theme.toml Rearchitect theme directory (#59) 2021-08-14 02:41:02 +05:30

README.md

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:

    [params]
      toggleImplicitCopyrightYears = "true"
    

Gokarna

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

Authors:

  1. Yash Mehrotra
  2. Avijit Gupta

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

Support the developer

"Buy Me A Coffee"

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
Light mode Dark mode

Post page

Light Mode Dark Mode
Light mode Dark mode

List page

Light Mode Dark Mode
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.

Gokarna

Performance

Google Lighthouse check score: 100%

Lighthouse Score

LICENSE

This code is licensed under GNU GPLv3