diff --git a/templates/index.html b/templates/index.html index 5d49d6b..04331b0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -44,31 +44,36 @@

Welcome to Micrach

-
- - {{range $Post := .}} -
-
+
+ + + +
+ +
+ {{range $Post := .}} +
+
- {{ $length := len $Post.Files }} {{ if gt $length 0 }} - {{$FirstFile := index $Post.Files 0}} - Uploaded picture - {{end}} + {{ $length := len $Post.Files }} {{ if gt $length 0 }} + {{$FirstFile := index $Post.Files 0}} + Uploaded picture + {{end}} -
-
{{$Post.Title}}
-

{{$Post.Text}}

- Open -
+
+
{{$Post.Title}}
+

{{$Post.Text}}

+ Open
- +
{{end}}
+