I’ve followed the tutorial for setting up Hugo on GitHub. I did the “Configure git workflow, the Alternate Way”.
The chosen theme, hugo-bootswatch, is not being applied. As far as I can tell, the css files for the theme are present, but somehow they aren’t getting used.
The gh-pages branch generates https://ucdavis.github.io/dtc but no theme appears defined. You can even see the text for the Bootswatch theme in the footer.
Try a fresh clone of your repo, then either add the full themes submodule, or make the ‘themes’ folder and add the hugo-bootswatch submodule there.
It seems like the submodule was added in a strange way. Rather than fixing the problematic version, starting from scratch is probably easier (DVCS for the win!).
Untested (sorry), but something like this:
git clone git@github.com:ucdavis/dtc.git
cd dtc
mkdir themes
cd themes
git submodule add https://github.com/nilproductions/hugo-bootswatch.git
git add themes/hugo-bootswatch
git push origin
Hi , I tried above work around, but it didn’t worked, I am using the hugo-minimalist-theme.
After executing hugo -t hugo-minimalist-theme , it seems the html files are not being rendered with respect to
the theme’s css.