metalsmith / layouts

A metalsmith plugin for layouts
MIT License
116 stars 49 forks source link

Any way to render matter in the template itself? #44

Closed devinus closed 9 years ago

devinus commented 9 years ago

---
layout: layout.html.hbs
title: The title
name: Devin

---
<p>{{name}}</p>

This is being output as:

<!doctype html>
<html>
<head>
  <title>The title</title>
</head>
<body>
  <p>{{name}}</p>

</body>
</html>
devinus commented 9 years ago

I just found metalsmith-in-place. Is there no way to combine "in place" templates and layouts?

devinus commented 9 years ago

Ok, this seems to have just started working somehow. I'm not sure what I was doing wrong before.