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

Using partial on post page does not render content. #91

Open
Macrofig opened this issue Apr 19, 2013 · 0 comments
Open

Using partial on post page does not render content. #91

Macrofig opened this issue Apr 19, 2013 · 0 comments

Comments

@Macrofig
Copy link

My post.json:

{
  "partials" : { "content":"sidebar" }                 
}

My sidebar plate:

<div class="sidebar">
      MEHHHHH
</div>

If I have a simple post named test.md, I get the following after running blacksmith:

<html>
<head>
    <title>Simple Layout</title>
    <link rel="stylesheet" href="css/styles.css">
</head>
<body>
    <div id="content">
<div class="sidebar">
      MEHHHHH
</div>
</div>
</body>
</html> 

My understanding from the documentation is that each partial is appended to the markdown processed content.

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

1 participant