diff --git a/templates/components/captcha.html b/templates/components/captcha.html
index 06edfbe..f820dc6 100644
--- a/templates/components/captcha.html
+++ b/templates/components/captcha.html
@@ -1,7 +1,7 @@
{{ define "captcha" }}
-
-
-
- {{ if eq .FirstPostID 0 }}
-
+
+
+
{{ end }}
diff --git a/templates/components/post.html b/templates/components/post.html
index 267f522..41b8781 100644
--- a/templates/components/post.html
+++ b/templates/components/post.html
@@ -1,20 +1,20 @@
{{ define "post" }}
-
- {{ $filesLength := len .Files }}
- {{ if gt $filesLength 0 }}
-
- {{ range $File := .Files }}
-
-
-
-
+
+ {{ $filesLength := len .Files }}
+ {{ if gt $filesLength 0 }}
+
+ {{ range $File := .Files }}
+
+ {{ end }}
{{ end }}
-
- {{ end }}
-
-
{{ end }}
\ No newline at end of file
diff --git a/templates/components/thread-card.html b/templates/components/thread-card.html
index e438ae4..1a86f1c 100644
--- a/templates/components/thread-card.html
+++ b/templates/components/thread-card.html
@@ -1,26 +1,26 @@
{{ define "thread-card" }}
-
-
- {{ $length := len .Files }}
- {{ if gt $length 0 }}
- {{ $FirstFile := index .Files 0 }}
-
- {{ end }}
-
-
- {{ if ne .Title "" }}
-
{{.Title}}
+
+
+ {{ $length := len .Files }}
+ {{ if gt $length 0 }}
+ {{ $FirstFile := index .Files 0 }}
+
{{ end }}
- {{ $textLength := len .Text }}
- {{ if gt $textLength 300 }}
-
{{ slice .Text 0 300 }} ...
- {{ else }}
-
{{.Text}}
- {{ end }}
+
+ {{ if ne .Title "" }}
+
{{.Title}}
+ {{ end }}
-
Open
+ {{ $textLength := len .Text }}
+ {{ if gt $textLength 300 }}
+
{{ slice .Text 0 300 }} ...
+ {{ else }}
+
{{.Text}}
+ {{ end }}
+
+
Open
+
-
{{ end }}
diff --git a/templates/head/meta-tags-dynamic.html b/templates/head/meta-tags-dynamic.html
index 732525c..91707d4 100644
--- a/templates/head/meta-tags-dynamic.html
+++ b/templates/head/meta-tags-dynamic.html
@@ -1,31 +1,31 @@
{{ define "meta-tags-dynamic" }}
-{{ $SeoImageUrl := "" }}
-{{ if .Files }}
- {{ $FirstFile := index .Files 0 }}
- {{ $SeoImageUrl = printf "https://micrach.igonin.dev/uploads/%d/t/%d.%s" .ID $FirstFile.ID $FirstFile.Ext }}
-{{ else }}
- {{ $SeoImageUrl = "https://memepedia.ru/wp-content/uploads/2018/03/ebanyy-rot-etogo-kazino.png" }}
-{{ end }}
+ {{ $SeoImageUrl := "" }}
+ {{ if .Files }}
+ {{ $FirstFile := index .Files 0 }}
+ {{ $SeoImageUrl = printf "https://micrach.igonin.dev/uploads/%d/t/%d.%s" .ID $FirstFile.ID $FirstFile.Ext }}
+ {{ else }}
+ {{ $SeoImageUrl = "https://memepedia.ru/wp-content/uploads/2018/03/ebanyy-rot-etogo-kazino.png" }}
+ {{ end }}
-
{{ .Title }}
-
-
-
-
-
+
{{ .Title }}
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
{{ end }}
\ No newline at end of file
diff --git a/templates/head/meta-tags-static.html b/templates/head/meta-tags-static.html
index 25d2fed..28be81e 100644
--- a/templates/head/meta-tags-static.html
+++ b/templates/head/meta-tags-static.html
@@ -1,22 +1,22 @@
{{ define "meta-tags-static" }}
-
Micrach
-
-
-
-
-
+
Micrach
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
{{ end }}
\ No newline at end of file
diff --git a/templates/head/static.html b/templates/head/static.html
index 0f48603..a7cf3d6 100644
--- a/templates/head/static.html
+++ b/templates/head/static.html
@@ -1,16 +1,16 @@
{{ define "static" }}
-
-
-
-
-
+
+
+
+
+
{{ end }}