mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-10 01:46:37 +02:00
Add section on repository metadata and plugin support for GitHub Pages
This commit is contained in:
@@ -20,6 +20,7 @@ All the hidden and not hidden features of Git and GitHub. This cheat sheet was i
|
||||
- [Empty Commits](#empty-commits)
|
||||
- [Comparing Branches](#comparing-branches)
|
||||
- [Line Highlighting in Repos](#line-highlighting-in-repos)
|
||||
- [Metadata and Plugin Support for GitHub Pages](#metadata-and-plugin-support-for-github-pages)
|
||||
- [Emojis](#emojis)
|
||||
- [Images/GIFs](#imagesgifs)
|
||||
- [Quick Quoting](#quick-quoting)
|
||||
@@ -295,6 +296,13 @@ https://github.com/rails/rails/blob/master/activemodel/lib/active_model.rb#L53-L
|
||||
|
||||

|
||||
|
||||
## Metadata and Plugin Support for GitHub Pages
|
||||
Within Jekyll pages and posts, repository information is available within the `site.github` namespace, and can be displayed, for example, using `{{ site.github.project_title }}`.
|
||||
|
||||
The Jemoji and jekyll-mentions plugins enable [emoji](#emojis) and [@mentions](https://github.com/blog/821) in your Jekyll posts and pages to work just like you'd expect when interacting with a repository on GitHub.com.
|
||||
|
||||
[*Read more about repository metadata and plugin support for GitHub Pages.*](Repository metadata and plugin support for GitHub Pages)
|
||||
|
||||
## Emojis
|
||||
|
||||
Emojis can be generated on Pull Requests, Issues, Commit Messages, READMEs, etc. using `:name_of_emoji:`
|
||||
|
Reference in New Issue
Block a user