--- a/hugo/archetypes/default.md Thu Sep 24 21:10:05 2020 -0500
+++ b/hugo/archetypes/default.md Thu Oct 01 20:19:38 2020 -0500
@@ -2,5 +2,9 @@
title: "{{ replace .Name "-" " " | title }}"
+description: "" # Leave blank to use the auto summary +audio: [] # Links to any audio files on the page +images: [] # Leave empty to default to the Pidgin logo +series: [] # Appears as "See also" pages on Facebook --- a/hugo/archetypes/post.md Thu Sep 24 21:10:05 2020 -0500
+++ b/hugo/archetypes/post.md Thu Oct 01 20:19:38 2020 -0500
@@ -5,6 +5,10 @@
+description: "" # Leave blank to use the auto summary +audio: [] # Links to any audio files in the post +images: [] # Leave empty to default to the Pidgin logo +series: [] # Appears as "See also" pages on Facebook --- a/hugo/config.toml Thu Sep 24 21:10:05 2020 -0500
+++ b/hugo/config.toml Thu Oct 01 20:19:38 2020 -0500
@@ -10,6 +10,10 @@
editURL = "https://keep.imfreedom.org/pidgin/nest/file/default/hugo/content/"
disableShortcutsTitle = true
+# These enable Open Graph and Twitter cards +description = "Pidgin is a universal chat client, allowing you to consolidate all your different messaging apps into a single tool." +images = ["/images/pidgin-circle-256.png"] # These manage the notification banner. When finished, please comment them out
# The code is used in the cookie to prevent showing the alert once closed
notificationMessage = "We've launched the new site. Think we're missing something?<br /><a href=\"/posts/2020-01-nest-launch/\">Read the blog post</a> or <a href=\"https://old.pidgin.im\">Go to the old site</a>"
@@ -27,6 +31,10 @@
name = "<i class='fas fa-fw fa-code'></i> Repositories"
--- a/hugo/layouts/partials/custom-header.html Thu Sep 24 21:10:05 2020 -0500
+++ b/hugo/layouts/partials/custom-header.html Thu Oct 01 20:19:38 2020 -0500
@@ -29,3 +29,6 @@
<meta name="msapplication-TileColor" content="#8451A1">
<meta name="msapplication-TileImage" content="/favicon/favicon-144.png">
<meta name="msapplication-config" content="favicon/browserconfig.xml">
+{{ template "_internal/opengraph.html" . }} +{{ template "_internal/twitter_cards.html" . }}