Proyek
Lihat di GitHub GitHub Metadata, a.k.a.
jekyll/github-metadata
Tentang
Plugin Jekyll untuk meneruskan namespace `site.github` dan menetapkan nilai default untuk digunakan dengan GitHub Pages.
Proyek lainnyaPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +1
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliGitHub 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
Jelajahi proyek terkait
Memuat…