Reputation: 691
When building a website using github pages and jekyll, we can use variable like site.github.repository_name
etc. Where these variables values are furnished by github pages when building the site. But I cannot find a comprehensive list of these variables in either documentation for github pages nor in pages about github pages in jekyll documentation.
I have already checked in
Upvotes: 5
Views: 677
Reputation: 1367
GitHub Pages use some plugins that are enabled by default and cannot be disabled. One of them is jekyll-github-metadata.
Which, as stated in the description:
site.github
namespace with repository metadatasite.title
as the repository name, if none is setsite.description
as the repository tagline if none is setsite.url
as the GitHub Pages domain (cname or user domain), if none is setsite.baseurl
as the project name for project pages if none is setsite.github.repository_name
comes from the repository metadata mentioned above, along with site.github.wiki_url
and lots of other stuff.
Upvotes: 3