chipzoller / hugo-clarity

A theme for Hugo based on VMware Clarity
Other
577 stars 262 forks source link

[Bug] ReadingTime broken after git submodule update #428

Closed Trimad closed 1 year ago

Trimad commented 1 year ago

I confirm:

Hugo version

0.104.2

Where is this bug showing up?

In the browser: Hugo builds the site, but something doesn't look right.

Operating system

Windows 10

Browser (if applicable)

Edge, Chrome, Safari

Current behavior

After updating this theme, the read time no longer displays. I've tried updating my .toml files to match the example more closely but the issue persists.

image

Oddly enough, if I run "hugo server" and run my site locally the read time works correctly, just not on the version of the site hosted in GitHub Pages.

https://trimad.github.io/

Expected behavior

Read time displays. Alternatively if there's no fix, I would like to know how to disable the read time entirely so those two dots aren't there.

Steps to reproduce

git submodule update --remote --merge update --init --recursive

commit to GitHub Pages

Relevant log output

No response

Related code

No response

Preferred solution

No response

Other information

No response

Trimad commented 1 year ago

Disregard this issue, I was able to resolve it by restoring: themes\hugo-clarity\layouts\partials\post-meta.html