Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

github-metadata

> 开发工具
Open source

Jekyll plugin to propagate the `site.github` namespace and set default values for use with GitHub Pages.

311 stars0 likes2 views
WebsiteGitHub

About

Jekyll plugin to propagate the `site.github` namespace and set default values for use with GitHub Pages.

GitHub Metadata, a.k.a. site.github

Jekyll plugin to propagate the site.github namespace and set default values for use with GitHub Pages.

What it does

  • Propagates the site.github namespace with repository metadata
  • Sets site.title as the repository name, if none is set
  • Sets site.description as the repository tagline if none is set
  • Sets site.url as the GitHub Pages domain (cname or user domain), if none is set
  • Sets site.baseurl as the project name for project pages if none is set

Usage

Usage of this gem is pretty straight-forward. Add it to your Gemfile like this:

ruby
gem "jekyll-github-metadata"

Add it to your _config.yml:

yaml
plugins:
  - "jekyll-github-metadata"

:warning: If you are using Jekyll < 3.5.0, use the gems key instead of plugins.

Then go ahead and run bundle install.

Now, whenever you build or serve with Jekyll, the jekyll-github-metadata plugin will run.

Further reading

  • Authentication
  • Configuration
  • Using site.github
  • Edit on GitHub link
  • Development

Issues· 13 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubygithubjekylljekyll-pluginoctokit

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具