Skip to content

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

@Macrofig

Description

@Macrofig

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions