Comments (4)
My current set of params: https://github.com/major/major.io/blob/main/config/_default/params.toml
from congo.
Ah, I figured out what it was! It's Cloudflare's Rocket Loader feature. It shortens the time for a content paint with javascript, but I think it was causing something to be loaded out of order with the appearance toggle.
To fix it, one must go into Cloudflare's dashboard and:
- Click the website where they deployed Hugo/Congo
- Click Speed on the left bar
- Click Optimization in the Speed section
- Scroll to Rocket Loaderβ’ and turn it off
- Clearing cache may be necessary, but it wasn't needed for me
I doubt there's a bug with Congo here, but I'd be glad to write a little warning in the Congo docs about it if someone might find it useful. π
from congo.
Thanks for the report. I've never tried deploying a Hugo site to Cloudflare Pages. If you feel like adding some documentation to the Hosting and Deployment page that explains how to deploy a site (and include a comment about this Rocket Loader issue) that would definitely be something that could help others. Feel free to submit a PR. In the meantime I'll close off this issue as I don't think anything needs to be changed in the theme.
from congo.
@jpanther I'll do that. Thank you.
from congo.
Related Issues (20)
- Table of content error in desktop and mobile view HOT 2
- Background color inconsistent on mobile when dark mode enabled HOT 2
- Encased links will be rendered with a blank character as prefix HOT 2
- article.sharingLinks needs to replace "twitter" with "X-twitter"
- Extra space after [ when using links HOT 2
- Author image does not render in profile homepage or author footer info HOT 5
- Congo theme error function "hasSuffix" not defined HOT 6
- Copy from code block appends a newline for every line HOT 3
- HTML Table not filling width at `md` size viewport and above
- Featured images overlapping with page title when article metadata hidden HOT 8
- Inconsistent picture rendering HOT 1
- Error calling first: can't iterate over maps.Params HOT 3
- The thumbnail images, or cover images are not showing HOT 2
- SVG width and height do not consider units HOT 4
- enableImageWebp breaks animated GIF files HOT 3
- Add Threads support
- Next article pagination link animation is inverted
- Non-existent two-part path results with 404 page which doesn't load css and js files HOT 2
- Emoji are rendered inside code blogs
- Unexpected blank line when using multiple lines in an alert box HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from congo.