百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

github-metadata

> 开发工具
开源

Jekyll 插件用于传播 `site.GitHub` 命名空间,并为使用 GitHub 页面设置默认值。

311 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Jekyll 插件用于传播 `site.GitHub` 命名空间,并为使用 GitHub 页面设置默认值。

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubygithubjekylljekyll-pluginoctokit

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

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