-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jacob Hilker edited this page Aug 15, 2021
·
4 revisions
All for One is a Hugo theme built with Halfmoon that intends to cover several use cases of a personal website - namely that of a blog, resume, and portfolio.
Installing All For One to your Hugo site is easy. Run this command from your site’s base directory:
git submodule add https://github.com/jhilker1/hugo-all-for-one.git themes/all-for-one
In case you want to do more customizationm you can also clone the repo, though installation as a submodule is recommended:
git clone https://github.com/jhilker1/hugo-all-for-one.git themes/all-for-one
Updating is just as easy as installing:
git submodule update --remote --merge
- set
params.themePref
to “dark” in your site’sconfig.toml
.
[params]
themePref = "dark"
To enable comments for your site, you will need to set params.commentSrc
in your site’s config.toml
.
[params]
commentSrc = "utterances"
To enable disqus comments, you will need to set commentSrc
to “disqus” and disqusShortname
in your site’s config file.
disqusShortname = "some-cool-name"
[params]
commentSrc = "disqus"