This commit is contained in:
Henrique Dias
2016-06-22 18:27:12 +01:00
parent b81ec9ecdf
commit 886f396d8f
5 changed files with 49 additions and 12 deletions

View File

@@ -1,4 +1,7 @@
{{ define "content" }}
<link rel="stylesheet" href="{{ .BaseURL }}/_hugointernal/css/styles.css">
<script src="{{ .BaseURL }}/_hugointernal/js/application.js"></script>
<div class="editor container {{ .Class }}">
{{ if eq .Class "complete" }}
<h1><textarea id="site-title">{{ .Name }}</textarea></h1>
@@ -11,7 +14,7 @@
{{ if eq .Class "frontmatter-only" }}
<div class="frontmatter blocks">
{{ template "frontmatter" .FrontMatter }}
{{ template "options" .FrontMatter }}
<p class="actions">
<button class="add">Add field</button>
</p>
@@ -24,7 +27,7 @@
{{ else }}
<div class="frontmatter">
<div class="blocks">
{{ template "frontmatter" .FrontMatter }}
{{ template "options" .FrontMatter}}
</div>
<p class="actions">