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

Liquid tags don't work when using post layout #27

Open
simoncourtenage opened this issue Apr 10, 2018 · 1 comment
Open

Liquid tags don't work when using post layout #27

simoncourtenage opened this issue Apr 10, 2018 · 1 comment

Comments

@simoncourtenage
Copy link

I tried to use

{{ site.site-email }}

(where site-email is defined in _config.yml) in a page that used the post layout. However, the text "{{site.site-email}}" showed up in the rendered page. After a little quick investigation, I found the answer was to amend the post layout to use

{{content | markdownify}}

instead of

{{page.content | markdownify}}.

Seems too small a thing to issue a pull request, so just leaving a comment about it here.

@artemsheludko
Copy link
Owner

@simoncourtenage Thank you for your participation.

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