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">
|
2015-09-15 18:26:18 +00:00
|
|
|
<form method="POST" action="">
|
|
|
|
<div class="sidebar data scroll">
|
2015-09-15 13:00:14 +00:00
|
|
|
<h2>Metadata</h2>
|
|
|
|
{{ template "frontmatter" .FrontMatter }}
|
|
|
|
</div>
|
2015-09-13 19:37:20 +00:00
|
|
|
|
2015-09-15 18:26:18 +00:00
|
|
|
<div class="container data">
|
|
|
|
<textarea name="content" class="scroll">{{ .Content }}</textarea>
|
|
|
|
<div id="preview-area" class="scroll hidden"></div>
|
2015-09-15 13:00:14 +00:00
|
|
|
</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 }}
|