You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be an underlying facility for #40 or #41 where the source of a page could describe an API endpoint (ideally serving a JSON object) and some form of templating to display data.
each issue in issues
li=issue.name
a(href=issue.link) issue.description
This should be fairly easy with Metalsmith and the metadata plugin after an API fetch to file step, or by creating a plugin that directly consumes the API at each generation run (which could be based on the contentful or primsic metalsmith plugins which do this).
then the issue list could be transcluded from a page with :[](/issues)
This could be an underlying facility for #40 or #41 where the source of a page could describe an API endpoint (ideally serving a JSON object) and some form of templating to display data.
For instance:
/issues/index.md
page with:/layouts/issues.jade
file such asThis should be fairly easy with Metalsmith and the metadata plugin after an API fetch to file step, or by creating a plugin that directly consumes the API at each generation run (which could be based on the contentful or primsic metalsmith plugins which do this).
:[](/issues)
:[](/issues#2)
(related to Transclusion of blocks via fragment identifiers #32 for transclusion of fragment blocks)The text was updated successfully, but these errors were encountered: