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
The top 10 gifts for the developer in your life
Whether you’re hunting for the perfect gift for your significant other, the colleague you drew in the office gift exchange, or maybe (just maybe) even for yourself, we’ve got you covered with our top 10 gifts that any developer would love.
Congratulations to the winners of the 2024 Gaady Awards
The Gaady Awards are like the Emmy Awards for the field of digital accessibility. And, just like the Emmys, the Gaadys are a reason to celebrate! On November 21, GitHub was honored to roll out the red carpet for the accessibility community at our San Francisco headquarters.
Students: Start building your skills with the GitHub Foundations certification
The GitHub Foundations Certification exam fee is now waived for all students verified through GitHub Education.