alanorth / hugo-theme-bootstrap4-blog

A blogging-centric Bootstrap v4 theme for the Hugo static site generator.
Other
204 stars 132 forks source link

custom head not working #137

Closed damnms closed 4 years ago

damnms commented 4 years ago

i tried like mentioned in https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/17 but that was not working

i created /home/me/Downloads/website/layouts/partial/head-custom.html with content "TEST" so i would expect somewhere a "TEST" in the source, but there was nothing.

my root of the website is for testing currently at /home/me/Downloads/website

damnms commented 4 years ago

should be in partials, not partial - maybe the documentation should be updated

alanorth commented 4 years ago

There's no documentation per se, but the README.md says this:

Allow addition of custom <head> code in site's layouts/partials/head-custom.html (see #17)

Linked pull request #17 is a user's PR adding the custom head feature and I guess he made a typo there.