Replies: 1 comment 3 replies
-
This will probably be difficult to debug without some source code since there can be a lot of subtle things in .md files which could affect rendering. If you try viewing the generated source and see some unexpected |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having a problem with rendering my home page. A partial is rendering the html as html rather than what I expect it to show.
I'm using liquid for templating.
I have an
_includes/layouts/base.liquid
file for a base templateI have an
_includes/layouts/page.liquid
file withlayout: layouts/base.liquid
in the front matter.My homepage is in
source
(designated as input in .eleventy.js)I have a partial (
_includes/partials/articles.liquid
) which produces a list of articles. This partial displays fine if I include it in the_includes/layouts/page.liquid
file, by using{% include "partials/articles.liquid" %}
. However, if I try to use this partial in the index.md file, since this is a markdown file instead of a liquid file, the partial is rendered as the html.Is there a way to use liquid constructs in the markdown files?
Beta Was this translation helpful? Give feedback.
All reactions