2015-09-14 21:03:09 +00:00
|
|
|
{{ define "content" }} {{ with .Body }}
|
2015-09-13 11:14:18 +00:00
|
|
|
|
2015-09-15 10:59:48 +00:00
|
|
|
<form method="POST" action="">
|
2015-09-13 19:37:20 +00:00
|
|
|
|
2015-09-15 10:59:48 +00:00
|
|
|
<div class="container left scroll">
|
|
|
|
<h2>Metadata</h2>
|
|
|
|
{{ template "frontmatter" .FrontMatter }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container main">
|
|
|
|
<textarea name="content" class="scroll">
|
|
|
|
{{ .Content }}
|
|
|
|
</textarea>
|
|
|
|
</div>
|
2015-09-13 11:28:26 +00:00
|
|
|
|
2015-09-15 10:59:48 +00:00
|
|
|
<div class="action-bar">
|
|
|
|
<button id="preview" class="left">Preview</button>
|
|
|
|
<input type="submit" value="Save">
|
|
|
|
<input type="submit" class="default" value="Publish">
|
2015-09-13 19:37:20 +00:00
|
|
|
</div>
|
2015-09-13 11:28:26 +00:00
|
|
|
|
2015-09-15 10:59:48 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
{{ end }} {{ end }}
|