diff --git a/templates/components/post.html b/templates/components/post.html index 97c386e..7041269 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 28349c0..293dc03 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 91707d4..6444773 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 "https://micrach.igonin.dev/uploads/%d/t/%d.%s" .ID $FirstFile.ID $FirstFile.Ext }} + {{ $SeoImageUrl = printf "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 28be81e..ad5d25e 100644 --- a/templates/head/meta-tags-static.html +++ b/templates/head/meta-tags-static.html @@ -8,14 +8,14 @@ - + - +