Source code for Bangalore Python User Group Blog. Read blog at https://bangalore.pythonindia.org
Follow Testing your GitHub Pages site locally with Jekyll
bundle exec jekyll serveYou can use --livereload to keep auto-updating changes.
bundle exec ruby scripts/check_blogs.rbThis renders the site and checks meetup pagination, community article cards, and the Giscus embed, including posts that opt out of comments.
Meetup and community posts use Giscus, backed by the
General discussion category in pythonindia/bangalore.python.org.in.
The repository and category IDs are configured under giscus in _config.yml.
The repository must be public, have Discussions enabled, and allow the
Giscus GitHub app access to this repository.
If you change repositories or categories, use the Giscus configurator to obtain
the corresponding IDs. Clear repo_id to disable comments site-wide.
Comments are enabled on posts by default. Set comments: false in a post's
front matter to opt out. Discussions are matched to the article's pathname with
strict matching, so changing a title or the site's domain keeps the same thread;
changing its permalink requires migrating the discussion mapping. Giscus creates
the discussion when the first comment or reaction is submitted.
Community posts belong in _posts/community/ and inherit hidden: true.
This excludes them from meetup pagination while keeping them published in the
Community Blog, archives, and author pages.
- Setup Upstream repo:
git remote add upstream git@github.com:pythonindia/bangalore.pythonindia.org.git - Fetch upstream content:
git fetch upstream - Checkout to master branch:
git checkout master - Rebase with upstream master:
git rebase upstream/master - Push (forcefully if needed):
git push -f origin master