zerostaticthemes/hugo-whisper-theme

cannot render proper html file links in public folder

epogrebnyak opened this issue · 1 comments

I'm trying to use Whisperer theme for a static website on Github Pages.

A website renders fine with hugo serve. If I want to persist it into static files with 'hugo' I'm in trouble.

  1. CSS not found

This I fix by relativeURLs = true

  1. The theme layout always points to folder (eg right side menu, content folder index page) not folder/index.html

This makes static file output unusable on local browser or Github Pages. I would expect a hosting service to redirect folder to folder/index.html, but that does not happen.

Maybe it is because uglyURLs = true have an effect in Whistoer theme?

Some of approach is addressed at gohugoio/hugo#4642, but I see no solution for Whisper theme there.

Update: this helped for Github Pages.

# baseURL = ... // no baseURL set
relativeURLs = true
uglyURLs = false