Want to use fetch Github template data in Angular project using Jekyll

Can Anyone suggest me how to fetch data form GITHub template in Angular project using Jekyll. It will be very helpful if someone help me.

See if this project helps

Your question is not clear to me as to whether you want the template files which are HTML and Jekyll liquid, or the metadata like title in the frontmatter of page.md for example. Which do you need?

Also note that jekyll outputs html files without metadata in them. So if you used JS fetch you’d have to lookup the raw Github file URL and parse the YAML.

Can I suggest a different approach. If your page has title and description for example, then add something to your template to add that data on the page for your app.


<h1>{{ page.title }}</h1>

var data = {title: {{page.title}} };