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.
Here is some features:
- Dark mode(It can switch automatically or manually)
- Footnotes(Float on the right side)
In your site's root dir
git submodule add https://github.com/WingLim/hugo-tania themes/hugo-tania
Edit your site config following exampleSite/config.yaml
.
titleEmoji
will show before the blog title on site navbar.
titleEmoji: '😎'
socialOptions
will show on index bio with _index.md
content.
Account with icon can set as below:
socialOptions:
dev-to:
email:
facebook:
github:
instagram:
linkedin:
medium:
stack-overflow:
steam:
telegram:
twitter:
twitch:
whatsapp:
If you want to disable the float footnotes, add below params.
enableFootnotes: false
articles
layout is for showing all articles you write.
Add articles.md
to site content
dir, and write as below:
---
title: Articles
subtitle: Posts, tutorials, snippets, musings, and everything else.
date: 2020-11-26
type: section
layout: "archives"
---
For enable math formula render, add katex: true
or mathjax: true
in your article head, like:
Notice: You should enable only one katex
or mathjax
in a same time.
---
title: Title
katex: true
---
Some content...