Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/airspace-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim B <salim@posteo.de>2021-04-01 01:43:11 +0300
committerSalim B <salim@posteo.de>2021-04-01 01:43:11 +0300
commit7a7b2f6e8e1f6240f24d8f8bb0b16ba0861b1b6f (patch)
treec1d13b48db3ad47c90c6cb679bcb9d87d077eaef /exampleSite
parent5655db7059d3369fa84a33de257e064a1e05969a (diff)
improve OpenGraph / Twitter Card metadata:
- add `params.title` to `config.toml` in order to enable [`og:site_name` tags](https://ogp.me/#optional) - add `params.images` to `config.toml` in order to enable fallback for [`og:image` tags](https://ogp.me/#metadata)
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml8
1 files changed, 5 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 46bdc18..f2ec589 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -78,13 +78,15 @@ sidebar = ["recent_posts", "taxonomy_category", "taxonomy_tags"]
[params]
logo = "images/logo.png"
logo_width = "150px"
-# Meta data
+# OpenGraph / Twitter Card metadata
+title = "Airspace Hugo Template"
description = "This is meta description"
author = "Themefisher"
-# Contact Information
+images = [ "images/logo.png" ] # First image here will be used as fallback if a page has no images of its own
+# Contact information
mobile = "0124857985320"
email = "demo@email.com"
-location = "North Main Street,Brooklyn Australia"
+location = "North Main Street, Brooklyn Australia"
# multi-author support (if set to true, you must use an Array in the author field)
multi_author = false