项目
在 GitHub 查看 GitHub Metadata, a.k.a.
jekyll/github-metadata
关于
Jekyll 插件,用于传递 `site.github` 命名空间并设置供 GitHub Pages 使用的默认值。
其他项目实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.githubnamespace with repository metadata - Sets
site.titleas the repository name, if none is set - Sets
site.descriptionas the repository tagline if none is set - Sets
site.urlas the GitHub Pages domain (cname or user domain), if none is set - Sets
site.baseurlas 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:
gem "jekyll-github-metadata"
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.
Now, whenever you build or serve with Jekyll, the jekyll-github-metadata plugin will run.
Further reading
探索相关项目
加载中…