diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 44fcccf..7d70fe2 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -7,12 +7,7 @@
{{ "" | safeHTML }}
-
-
-
- {{ if .Site.Params.google_verify_meta }}{{ end }}
-
- {{ .Hugo.Generator }}
+ {{ partial "metadata.html" . }}
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
new file mode 100644
index 0000000..aed026b
--- /dev/null
+++ b/layouts/partials/metadata.html
@@ -0,0 +1,36 @@
+{{ $title := .Title | default .Site.Title }}
+{{ $description := .Params.description | default .Site.Params.description }}
+{{ $author := .Params.author | default .Site.Params.author }}
+
+
+
+
+ {{ "" | safeHTML }}
+
+
+
+ {{ if eq .Section "post" }}
+
+
+
+ {{ if .Params.image }}
+
+ {{ end }}
+ {{ else }}
+
+ {{ end }}
+
+
+
+ {{ "" | safeHTML }}
+ {{ if and (eq .Section "post") (.Params.image) }}
+
+
+ {{ else }}
+
+ {{ end }}
+ {{ if .Site.Params.social.twitter_username}}{{ end }}
+
+
+
+ {{ .Hugo.Generator }}