Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add index template and api explanation for Slate formatter #375

Merged
merged 2 commits into from
Apr 14, 2018
Merged

Add index template and api explanation for Slate formatter #375

merged 2 commits into from
Apr 14, 2018

Conversation

l15n
Copy link
Contributor

@l15n l15n commented Mar 15, 2018

Currently, the Slate formatter (introduced in #282) does not provide a means for common content to be included. This change extracts the YAML front matter and title to its own template. It also adds the API explanation field into the template.

Note that this allows #294 to be resolved because the YAML front matter can be updated in your own custom template.

Leonard Chin added 2 commits March 15, 2018 17:18
Rather than hard coding the front matter and api explanation rendering,
use a mustache template for the index.
@oestrich oestrich merged commit 35bac0b into zipmark:master Apr 14, 2018
@oestrich
Copy link
Contributor

Thanks!

@l15n l15n deleted the slate-api-explanation branch April 16, 2018 02:21
@l15n l15n restored the slate-api-explanation branch April 19, 2018 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants