Re:Pelican static site generator 4.5
by ficklepickle on Friday October 02, 2020 @11:30AM
(#24663631)
You should add a CNAME record for the www subdomain. As it stands now, appending "www." results in a server not found. Browsers append that automatically sometimes.
The cloudflare CDN is there because your theme includes "auto-render.min.js" and "katex.min.js" from cdnjs.cloudflare.com. They are in script tags in your homepage HTML. You can verify this with:
> curl -L ahelwer.ca | grep 'auto-render.min.js'
You can check my domain if you want an example of a CNAME record:
> dig CNAME www.jeremypoole.ca
I am also using Hugo, I modified a theme called "coder".
As far as avoiding trackers, it would depend on what you mean by tracker. In your case, the external requests are for fonts and a couple of JavaScript dependencies. You could easily host those yourself instead of using the CDN, and then there would be no third-party HTTP requests.
As a fellow .ca HNer, I would gladly help you out. Feel free to hit me up.
Re:Pelican static site generator 4.5
by saagarjha on Friday October 02, 2020 @03:13PM
(#24666026)
GitLab Pages also apparently needs a TXT verification record for the subdomain as well, otherwise it'll serve a 401. (GitHub Pages does not seem to require this.)
The cloudflare CDN is there because your theme includes "auto-render.min.js" and "katex.min.js" from cdnjs.cloudflare.com. They are in script tags in your homepage HTML. You can verify this with: > curl -L ahelwer.ca | grep 'auto-render.min.js'
You can check my domain if you want an example of a CNAME record: > dig CNAME www.jeremypoole.ca
I am also using Hugo, I modified a theme called "coder".
As far as avoiding trackers, it would depend on what you mean by tracker. In your case, the external requests are for fonts and a couple of JavaScript dependencies. You could easily host those yourself instead of using the CDN, and then there would be no third-party HTTP requests.
As a fellow .ca HNer, I would gladly help you out. Feel free to hit me up.