Another web repository but for a blog
IMPORTANT Make sure you clone this repo correctly as it relies on papertheme
git clone --recurse-submodules <REPO_URL>
- golang as dependency for hugo.
- Hugo as the static site generator for the blog. I think we use the extended edition?
PaperMod for themes: This blog uses hugo-PaperMod as its theme. Updating and installing can be found here.
TLDR... INSTALL: Inside the repo
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1UPDATE: Inside the repo
cd themes/PaperMod
git pullHugo contents generally have the draft front matter set to true. To include draft contents run one of:
hugo server --buildDrafts
hugo server --D
hugo new content posts/<content-name>.md
You can add rendering of math by adding the following to the front matter.
Using yaml:
---
...
math: 'katex'
...
---
You can also use toml and json. Find the structure here: https://gohugo.io/content-management/front-matter/
Run
hugo