diff --git a/templates/components/post.html b/templates/components/post.html index 7041269..97c386e 100644 --- a/templates/components/post.html +++ b/templates/components/post.html @@ -12,8 +12,8 @@
{{ range $File := .Files }}
- - Uploaded picture + + Uploaded picture
{{ end }} diff --git a/templates/components/thread-card.html b/templates/components/thread-card.html index 293dc03..28349c0 100644 --- a/templates/components/thread-card.html +++ b/templates/components/thread-card.html @@ -4,7 +4,7 @@ {{ $length := len .Files }} {{ if gt $length 0 }} {{ $FirstFile := index .Files 0 }} - Uploaded picture + Uploaded picture {{ end }}
diff --git a/templates/head/meta-tags-dynamic.html b/templates/head/meta-tags-dynamic.html index 6444773..91707d4 100644 --- a/templates/head/meta-tags-dynamic.html +++ b/templates/head/meta-tags-dynamic.html @@ -3,7 +3,7 @@ {{ $SeoImageUrl := "" }} {{ if .Files }} {{ $FirstFile := index .Files 0 }} - {{ $SeoImageUrl = printf "uploads/%d/t/%d.%s" .ID $FirstFile.ID $FirstFile.Ext }} + {{ $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 }} @@ -17,14 +17,14 @@ - + - + diff --git a/templates/head/meta-tags-static.html b/templates/head/meta-tags-static.html index ad5d25e..28be81e 100644 --- a/templates/head/meta-tags-static.html +++ b/templates/head/meta-tags-static.html @@ -8,14 +8,14 @@ - + - +