Hugo styling renders locally, but not on published site

Action:

Publishing a static site with a theme from GitHub repository, deployed via Cloudflare

Expected behavior:

Expected the published site to load the CSS

Result:

Published site does not load CSS

Troubleshooting:

  • Checked baseurl configuration
  • Purged cache on cloudflare
  • Turned off minimize html on cloudflare

Source code repository:

Link to the theme:

Hugo Env:

~> hugo env

hugo v0.97.3+extended darwin/arm64 BuildDate=unknown

GOOS=“darwin”

GOARCH=“arm64”

GOVERSION=“go1.18.1”

Git Version:

~> git version

git version 2.32.0 (Apple Git-132)

This is a hosting configuration issue, or perhaps a DNS issue, not a Hugo issue.

Your site (https://www.sayselect.com) takes about 30 seconds to load, and throws a bunch of errors.

Following up -

Doesn’t Hugo generate these links?

Your screen capture shows the problem: Namecheap is forwarding (301 redirect) https requests to http.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.