diff options
author | Salim B <salim@posteo.de> | 2021-04-01 01:43:11 +0300 |
---|---|---|
committer | Salim B <salim@posteo.de> | 2021-04-01 01:43:11 +0300 |
commit | 7a7b2f6e8e1f6240f24d8f8bb0b16ba0861b1b6f (patch) | |
tree | c1d13b48db3ad47c90c6cb679bcb9d87d077eaef /exampleSite | |
parent | 5655db7059d3369fa84a33de257e064a1e05969a (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.toml | 8 |
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 |