diff --git a/config.toml b/config.toml
index a3508f7f..fe11cdbb 100644
--- a/config.toml
+++ b/config.toml
@@ -33,6 +33,7 @@ disableAliases = true
jobTitle = "Front-End Web Developer"
email = "jake@jarv.is"
twitter = "jakejarvis"
+ twitterID = "229769022"
github = "jakejarvis"
facebook = "jakejarvis"
facebookID = "1329090853"
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index bce17239..2aaa111e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -21,7 +21,7 @@
-{{ if and (eq .Type "notes") (eq .Kind "page") }}
+{{ if and .IsPage (eq .Type "notes") }}
{{ with .OutputFormats.Get "amp" }}
{{ end }}
diff --git a/layouts/partials/open-graph.html b/layouts/partials/open-graph.html
index f55ea715..e6e5874c 100644
--- a/layouts/partials/open-graph.html
+++ b/layouts/partials/open-graph.html
@@ -7,7 +7,7 @@
-
+
@@ -19,7 +19,7 @@
{{- end }}
-{{- if .IsPage }}
+{{- if and .IsPage (eq .Type "notes") }}
{{- if not .PublishDate.IsZero }}
@@ -35,11 +35,13 @@
{{ with .Site.Author.facebookid }}{{ end }}
{{ with .Site.Params.facebookappid }}{{ end }}
-
+
+
{{- with .Site.Author.twitter }}
{{- end }}
+{{ with .Site.Author.twitterid }}{{ end }}