
* Add webpage to academic pages list * adding panelbear analytics * added categories for projects and horizontal mode display for projects * rewrote the code to ensure it works properly with current project definitions * Style adjustments * added blockquote format, jekyll-archives, tag, year archive pages, and reading time. * added archive meta to blog posts list and individual posts. * added sitemap * stylistic modifications to jekyll-archive addition * Minor fixes Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
1.3 KiB
1.3 KiB
layout | title | date | description | categories |
---|---|---|---|---|
post | a post with github metadata | 2020-09-28 21:01:00 | a quick run down on accessing github metadata. | sample-posts external-services |
A sample blog page that demonstrates the accessing of github meta data.
What does Github-MetaData do?
- Propagates the site.github namespace with repository metadata
- Setting site variables :
- site.title
- site.description
- site.url
- site.baseurl
- Accessing the metadata - duh.
- Generating edittable links.
Additional Reading
- If you're recieving incorrect/missing data, you may need to perform a Github API authentication.
- Go through this README for more details on the topic.
- This page highlights all the feilds you can access with github-metadata.
Example MetaData
- Host Name : {{ site.github.hostname }}
- URL : {{ site.github.url }}
- BaseURL : {{ site.github.baseurl }}
- Archived : {{ site.github.archived}}
- Contributors :
{% for contributor in site.github.contributors %}
- {{ contributor.login }} {% endfor %}