Skip to content

Commit 22d18a6

Browse files
committed
Added open graph publish date metadata
1 parent 5b87f9d commit 22d18a6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/_includes/article.njk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ layout: layout
33
highlight: true
44
og_image_width: 1200
55
og_image_height: 669
6-
og_type:
7-
"og:type": article
86
eleventyComputed:
97
og_image: "{% generateShareImage title %}"
8+
og_type:
9+
"og:type": article
10+
"og:publish_date": "{{ date | date }}"
11+
"og:type": article"
1012
---
1113
{% from "analytics.njk" import track with context %}
1214

0 commit comments

Comments
 (0)