A simple theme for bloggers.
Most of the styles for this theme come from taniarascia.com
I like it's style, so I transplant it to Hugo.
And is that why this theme called Tania.
Thank Tania Rascia again.
It's necessary to use Hugo ≥ 0.78.0.
Use Hugo Extended version (recommended) if you want to:
- Use the latest feature/fix from main branch
- Edit SCSS files
- Responsive and Mobile-Friendly
- Dark mode(It can switch automatically or manually)
- Footnotes(Float on the right side)
- Search with categories filter
cd
into your site's root dir.
- Add
hugo-tania
theme as submodule.
git submodule add https://github.com/WingLim/hugo-tania themes/hugo-tania
- Add
articles
page with archives layout.
cat > content/articles.md <<EOF
---
title: Articles
subtitle: Posts, tutorials, snippets, musings, and everything else.
layout: "archives"
---
EOF
Edit your site config following exampleSite/config.yaml.
- hugo-theme-stack for dark mode switch
- hugo-prose for float footnotes