github-metadata

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

Github星跟蹤圖

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

Linux Build Status
Windows Build status

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 bundle like this:

gem "jekyll-github-metadata"

Now add it to your _config.yml:

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. Once you've done that jekyll-github-metadata will run when you run Jekyll.

Further reading

主要指標

概覽
名稱與所有者jekyll/github-metadata
主編程語言Ruby
編程語言Ruby (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2014-09-16 06:32:03
推送於2025-03-24 14:25:07
最后一次提交
發布數42
最新版本名稱v2.16.1 (發布於 2023-12-29 00:58:35)
第一版名稱v0.1.0 (發布於 2014-09-19 20:38:44)
用户参与
星數296
關注者數13
派生數144
提交數534
已啟用問題?
問題數110
打開的問題數5
拉請求數119
打開的拉請求數8
關閉的拉請求數23
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?