diff --git a/_config.yml b/_config.yml index 4b927e3..db2bb8d 100644 --- a/_config.yml +++ b/_config.yml @@ -87,6 +87,13 @@ inter_post_navigation: false email: hello@safing.io emailobfuscated: "=b!isfg>#nbjmup;ifmmpAtbgjoh/jp#?ifmmpAtbgjoh/jp=0b?" +############################## +###### OGP settings ###### +############################## + +twitter_username: "@SafingIO" +twitter_card_type: "summary_large_image" + ################################### ###### media/content options ###### ################################### diff --git a/_includes/head.html b/_includes/head.html index f393a89..a3e9fd6 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,22 +1,13 @@ - + + +{{ page.title }} - - {% if page.type == "podcast" %} - {% assign title_length = page.title | size %} - {{ page.title | slice: 7, title_length }} - The Safing Podcast #{{ page.title | slice: 2, 2 }} - {% elsif page.type == "video" %} - {% assign title_length = page.title | size %} - {{ page.title | slice: 7, title_length }} - Safing Update #{{ page.title | slice: 2, 2 }} - {% elsif page.type == "post" %} - {{ page.title }} - Safing Blog - {% else %} - {{ page.title }} - {% endif %} - + +{% include head_ogp.html %} diff --git a/_includes/head_ogp.html b/_includes/head_ogp.html new file mode 100644 index 0000000..8a682f2 --- /dev/null +++ b/_includes/head_ogp.html @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/_includes/thumbnail_podcast.html b/_includes/thumbnail_podcast.html index dff768c..3dd4622 100644 --- a/_includes/thumbnail_podcast.html +++ b/_includes/thumbnail_podcast.html @@ -7,7 +7,7 @@ > {% else %} {% endif %} diff --git a/assets/img/ogp/default.png b/assets/img/ogp/default.png new file mode 100644 index 0000000..a2fbad7 Binary files /dev/null and b/assets/img/ogp/default.png differ diff --git a/assets/img/thumbnails/podcast/placeholder_S02.jpg b/assets/img/thumbnails/podcast/placeholder_S02.jpg deleted file mode 100644 index 427c2c5..0000000 Binary files a/assets/img/thumbnails/podcast/placeholder_S02.jpg and /dev/null differ diff --git a/assets/img/thumbnails/podcast/placeholder_S02.png b/assets/img/thumbnails/podcast/placeholder_S02.png new file mode 100644 index 0000000..5008aa5 Binary files /dev/null and b/assets/img/thumbnails/podcast/placeholder_S02.png differ