Explore July 2023’s Insider newsletter, featuring prompts, tips, and use cases for GitHub Copilot.
A year ago, Jekyll sites on GitHub pages gained access to repository and organization metadata with the introduction of the
We recently moved our own
site.github implementation to use the community-driven GitHub metadata Jekyll plugin, meaning it’s now easier to preview sites locally that rely on repository or organization metadata using the exact same process GitHub Pages uses to build your site in production.
To recreate the
site.github namespace when previewing your site locally, assuming you’re using the GitHub Pages gem, simply add the
jekyll-github-metadata gem to your site’s config:
gems: - jekyll-github-metadata