Skip to content
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.

Getting Started

Installation

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

Updating is just as easy as installing:

git submodule update --remote --merge

Enabling Features

Dark Mode

  • set params.themePref to “dark” in your site’s config.toml.
[params]
themePref = "dark"

Comments

To enable comments for your site, you will need to set params.commentSrc in your site’s config.toml.

[params]
commentSrc = "utterances"

Disqus

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"