Started styling the app and have got editing posts working.
This commit is contained in:
parent
7ef6725bdb
commit
bf5d6cbe52
20 changed files with 511 additions and 41 deletions
|
|
@ -1,19 +0,0 @@
|
|||
<h1>Site {{.site.Title}}</h1>
|
||||
|
||||
<form method="post" action="/sites/{{.site.ID}}/posts">
|
||||
<textarea name="body"></textarea>
|
||||
<input type="submit" value="Post">
|
||||
</form>
|
||||
|
||||
<form method="post" action="/sites/{{.site.ID}}/rebuild">
|
||||
<input type="submit" value="Rebuild">
|
||||
</form>
|
||||
|
||||
{{range .posts}}
|
||||
<div class="post">
|
||||
{{.Body}}
|
||||
</div>
|
||||
<hr>
|
||||
{{else}}
|
||||
<p>No posts yet</p>
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue