|
|
@ -1,16 +1,5 @@ |
|
|
|
{{ define "body" }} |
|
|
|
{{ define "body" }} |
|
|
|
|
|
|
|
|
|
|
|
{{ if gt (len .Payload.Tags) 0 }} |
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
|
|
Existing tags: |
|
|
|
|
|
|
|
<em> |
|
|
|
|
|
|
|
{{ range $i, $tag := .Payload.Tags }} |
|
|
|
|
|
|
|
{{ if ne $i 0 }} {{ end }}{{ $tag }} |
|
|
|
|
|
|
|
{{ end }} |
|
|
|
|
|
|
|
</em> |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
{{ end }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form method="POST" action="{{ BlogURL "posts/" }}"> |
|
|
|
<form method="POST" action="{{ BlogURL "posts/" }}"> |
|
|
|
|
|
|
|
|
|
|
|
<table> |
|
|
|
<table> |
|
|
@ -34,9 +23,7 @@ |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<td>Tags (space separated)</td> |
|
|
|
<p>Tags (space separated)</p> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<input |
|
|
|
<input |
|
|
|
name="tags" |
|
|
|
name="tags" |
|
|
@ -45,6 +32,15 @@ |
|
|
|
{{- if ne $i 0 }} {{ end }}{{ $tag -}} |
|
|
|
{{- if ne $i 0 }} {{ end }}{{ $tag -}} |
|
|
|
{{- end -}} |
|
|
|
{{- end -}} |
|
|
|
"/> |
|
|
|
"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ if gt (len .Payload.Tags) 0 }} |
|
|
|
|
|
|
|
<em> |
|
|
|
|
|
|
|
Existing tags: |
|
|
|
|
|
|
|
{{ range $i, $tag := .Payload.Tags }} |
|
|
|
|
|
|
|
{{ if ne $i 0 }} {{ end }}{{ $tag }} |
|
|
|
|
|
|
|
{{ end }} |
|
|
|
|
|
|
|
</em> |
|
|
|
|
|
|
|
{{ end }} |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
|
|