{{ $FirstPost:= index .Thread 0 }} {{ template "static" }} {{ template "meta-tags-dynamic" $FirstPost }}

{{ if ne $FirstPost.Title "" }} {{$FirstPost.Title}} {{ else }} Welcome to Micrach {{ end }}

{{ template "post-form" .FormData }}
{{ range $Post := .Thread }}
{{ $filesLength := len $Post.Files }} {{ if gt $filesLength 0 }}
{{ range $File := $Post.Files }} {{ end }}
{{ end }}

{{$Post.Text}}

{{end}}