1

Experimenting with OpenGraph

This commit is contained in:
Evan Pratten 2023-12-18 12:41:55 -05:00
parent 1a99e2dd73
commit 188e6b7da3
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ title: Channels
date: 2022-11-25
extra:
no_auto_title: true
og_type: music.album
og_image: https://ewpratten.com/images/music/channels/cover.jpg
og_description: "Single by Evan Pratten. Released Nov 25 2022"
---

View File

@ -45,7 +45,7 @@
<meta name="description" content="{{page.description}}">
{% endif %}
<meta property="og:title" content="{{title}} - {{config.title}}" />
{% if page.path %}<meta property="og:type" content="article" />{% endif %}
{% if page.path %}<meta property="og:type" content="{{extra.og_type | default(value='article')}}" />{% endif %}
{% if page.date %}<meta property="article:published_time" content="{{page.date}}" />{% endif %}
{# Fonts #}