2015-09-14 21:03:09 +00:00
|
|
|
{{ define "content" }} {{ with .Body }}
|
2015-09-13 11:14:18 +00:00
|
|
|
|
2015-09-15 13:00:14 +00:00
|
|
|
<main class="editor">
|
|
|
|
<form method="POST" action="_self">
|
|
|
|
<div class="sidebar scroll">
|
|
|
|
<h2>Metadata</h2>
|
|
|
|
{{ template "frontmatter" .FrontMatter }}
|
|
|
|
</div>
|
2015-09-13 19:37:20 +00:00
|
|
|
|
2015-09-15 13:00:14 +00:00
|
|
|
<div class="container">
|
|
|
|
<textarea name="content" class="scroll">
|
|
|
|
{{ .Content }}
|
|
|
|
</textarea>
|
|
|
|
</div>
|
2015-09-15 10:59:48 +00:00
|
|
|
|
2015-09-15 13:00:14 +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">
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</main>
|
2015-09-15 10:59:48 +00:00
|
|
|
|
|
|
|
{{ end }} {{ end }}
|