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

Markdown filter includes TOML head matter #1105

Closed
tylershuster opened this issue Jul 28, 2020 · 4 comments
Closed

Markdown filter includes TOML head matter #1105

tylershuster opened this issue Jul 28, 2020 · 4 comments

Comments

@tylershuster
Copy link

tylershuster commented Jul 28, 2020

Documentation issue

Summary

I have a page that needs to include another page's content. Thus I use set content = load_data(path="") and {{ content | markdown }}. It mostly works, except that the TOML head matter is also included.

Proposed solution

I propose that the head matter is ignored in the markdown filter. If there is another way to achieve this please let me know.

@Keats
Copy link
Collaborator

Keats commented Jul 28, 2020

Use get_page instead. Or is it in a shortcode?

@tylershuster
Copy link
Author

tylershuster commented Jul 28, 2020 via email

@Keats
Copy link
Collaborator

Keats commented Jul 28, 2020

You can split on +++ then I guess?

@tylershuster
Copy link
Author

Ok, I can manage that.

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

No branches or pull requests

2 participants