Skip to content

A light-weight theme for a personal website.

License

Notifications You must be signed in to change notification settings

gsidhu/hugo-tania-mod

 
 

Repository files navigation

Tania Mod - Hugo Theme

A light-weight theme for a personal website.

Demo

Hugo Tania Mod Demo

Introduction

This theme is inspired by taniarascia.com and is forked from hugo-tania.

While the core is the same, I have modified the theme a bit to my liking.

Features:

  • Dark mode switch
  • Floating footnotes
  • Light-weight

Lighthouse Perfection

The theme has a 100% score on Lighthouse.

Installation

  1. Download this repo.
  2. Unzip the folder and copy it to the themes folder in your Hugo site's root folder.
  3. Change your config file according to exampleSite > config.yaml.

Enjoy.

Details

The theme features three layouts (archetypes) -

  1. Posts: For your blog posts that will show up on the homepage and in the archive. These files are stored in the posts folder inside content.
  2. Projects: For linking projects on the homepage. These files are stored in the projects folder inside content.
  3. Pages: Independent pages that don't show anywhere unless explicitly linked to. Useful for about pages and such. These files need to be stored in the root of the content folder.

You can create new files using these commands -

hugo new posts/my-new-post.md # for post
hugo new projects/my-new-project.md # for project
hugo new my-new-page.md # for page

To do

  1. Add pagination to Archive.
  2. ???

Gratitude

  • Tania Rascia for the base theme.
  • WingLim for porting the theme to Hugo.
  • Hugo for the remarkable static site generator.

License

MIT

About

A light-weight theme for a personal website.

Resources

License

Stars

Watchers

Forks

Languages

  • SCSS 52.4%
  • HTML 21.4%
  • JavaScript 20.8%
  • XSLT 5.4%