Preview GitHub Pages metadata locally
A year ago, Jekyll sites on GitHub pages gained access to repository and organization metadata with the introduction of the site.github namespace. We recently moved our own site.github implementation to…
A year ago, Jekyll sites on GitHub pages gained access to repository and organization metadata with the introduction of the site.github
namespace.
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
For more information on using repository and organization metadata, when previewing locally or on GitHub Pages, see the plugin and repository metadata documentation.
Written by
Related posts
Inside the research: How GitHub Copilot impacts the nature of work for open source maintainers
An interview with economic researchers analyzing the causal effect of GitHub Copilot on how open source maintainers work.
OpenAI’s latest o1 model now available in GitHub Copilot and GitHub Models
The December 17 release of OpenAI’s o1 model is now available in GitHub Copilot and GitHub Models, bringing advanced coding capabilities to your workflows.
Announcing 150M developers and a new free tier for GitHub Copilot in VS Code
Come and join 150M developers on GitHub that can now code with Copilot for free in VS Code.