This repository contains a theme for Hugo, based on the great Learn theme.
Create a hugo site following their quick start tutorial.
Run the following to bring in this theme.
echo 'theme = "workerpedia"' >> config.toml
echo '/public' >> .gitignore
cd themes/
git clone https://github.com/the-idc/hugo-theme-workerpedia.git workerpedia
Add your logo to static/logo.png
Run the following to add settings to the bottom of config.toml
then set the other variables like title.
cat << EOF >> config.toml
[params]
disableNextPrev = true
themeVariant = "red"
custom_css = [ "custom.css" ]
[outputs]
home = [ "HTML", "RSS", "JSON"]
[permalinks]
top = "/:filename/"
EOF
Add some information to your front page by creating a file at content/_index.md
hugo new claims/what-have-unions-done-for-me.md
Fill in the blanks, categories are displayed on the left sidebar of the page.
hugo serve
In github, create a new repository. (make sure to fill in <user>
and <repo>
below.
git init
git commit -am "First commit"
git remote add origin https://github.com/<user>/<repo>.git
git push -u origin master
Get a netlify account, add the github repo as a new site, rename and share the url.
Raise an issue on the theme repo and we'll make sure to get you started.