You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Serve the blog at the custom domain blog.jaysinh.dev (#103)
The site has been served as a GitHub Pages project site at
ultimatecoder.github.io/Blog/, which forced a "/Blog" baseurl through
_config.yml and scripts/test. That prefix already caused one production
bug (#100, tag links 404) and still breaks the root-absolute favicon and
apple-touch-icon paths in _includes/head.html, which resolve against the
domain root rather than /Blog/.
Point the site at blog.jaysinh.dev instead. The custom domain serves from
the domain root, so baseurl becomes empty:
* CNAME (new) tells GitHub Pages which domain to attach. The deploy is
artifact-based (actions/deploy-pages), and Jekyll copies unknown root
files into _site/, so the artifact carries it.
* _config.yml drops the "/Blog" baseurl.
* _config_production.yml points url at the new host, which feeds
jekyll-seo-tag canonicals and the jekyll-sitemap output.
* scripts/test no longer needs --swap-urls "^/Blog:" — with an empty
baseurl, _site/ on disk already matches the served paths. The 73
internal links now pass unrewritten, which is what proves the change
is internally consistent.
Tag links need no change: #102 routed them through relative_url, so they
pick up the empty baseurl and render as /tags/<tag>/ automatically.
Posts referencing {{ site.url }}{{ site.baseurl }}/assets/... resolve
correctly for the same reason.
Also ignore www.gweca.ac.in in the link checker. It returns 200 to curl
over both HTTP and HTTPS but 415 to htmlproofer — the same bot/WAF
blocking already recorded as "ci-block" for other hosts. Unrelated to
this change, but it fails CI.
Co-authored-by: Jaysinh Shukla <jaysinhshukla@Jaysinhs-MacBook-Pro-2.local>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
# Blog - [Jaysinh's own heed](https://ultimatecoder.github.io/Blog/)
1
+
# Blog - [Jaysinh's own heed](https://blog.jaysinh.dev/)
2
2
3
3
This repository contains backend tool I use to write and publish my blog. Since begining, I have invested more time in identifying proper flow than writing blog post.
4
4
5
5
* Framework: Jekyll
6
-
* URL: https://ultimatecoder.github.io/Blog/
6
+
* URL: https://blog.jaysinh.dev/
7
7
* Build/deploy: GitHub Actions ([`.github/workflows/`](.github/workflows)) — every pull request runs a build + link-check ([`ci.yml`](.github/workflows/ci.yml)), and pushes to `master` build and publish to GitHub Pages ([`pages.yml`](.github/workflows/pages.yml)).
0 commit comments