diff --git a/feature_files/logo.svg b/feature_files/logo.svg
new file mode 100644
index 00000000..f66ac480
--- /dev/null
+++ b/feature_files/logo.svg
@@ -0,0 +1,146 @@
+
+
+
+
diff --git a/hugo.toml b/hugo.toml
index fcf7edec..9fac68ae 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -10,7 +10,7 @@ summaryLength = 50
[params]
description = "A blog by Yuliya Bagriy aka aviskase about testing, APIs, and other techy thingies."
-images = ["site-feature.png"]
+images = ["logo.png"]
title = "aviskase"
username = "aviskase"
firstname = "Yuliya"
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index badc82b6..9b0fadad 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -15,7 +15,6 @@
{{ if ne .Kind "404" }}
{{ partial "opengraph.html" . }}
- {{/* {{ template "_internal/twitter_cards.html" . }} */}}
{{ end }}
{{ hugo.Generator }}
diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html
index f08ff35e..1d185073 100644
--- a/layouts/partials/opengraph.html
+++ b/layouts/partials/opengraph.html
@@ -13,11 +13,7 @@
{{ end }}
-{{ with $.Params.images }}{{ range first 6 . -}}
-
-
-
-{{ end }}{{ else -}}
+
{{- $images := $.Resources.ByType "image" -}}
{{- $featured := $images.GetMatch "*feature*" -}}
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
@@ -27,11 +23,10 @@
{{ else -}}
{{- with $.Site.Params.images -}}
-{{- if not $isArticle }}
-
-
-{{ end }}{{ end }}{{ end }}{{ end }}
+
+
+{{ end }}{{ end }}
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
{{- if $isArticle }}
@@ -64,4 +59,6 @@
{{- if $isArticle }}
-{{ end }}
\ No newline at end of file
+{{ end }}
+
+
\ No newline at end of file
diff --git a/static/logo.png b/static/logo.png
new file mode 100644
index 00000000..c9a1a21e
Binary files /dev/null and b/static/logo.png differ