aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorC. Lente <7017340+clente@users.noreply.github.com>2023-03-04 16:36:06 -0300
committerC. Lente <7017340+clente@users.noreply.github.com>2023-03-04 16:36:06 -0300
commit488da01892fccd6724723288e02fffc8220e5c73 (patch)
treec2bf569e2c39da06fd45aebbd4ed0ae2331ffeb0 /README.md
parent8b4ac7a925ca870aeedb118702678100f262fb8a (diff)
downloadhugo-bearcub-488da01892fccd6724723288e02fffc8220e5c73.tar.gz
hugo-bearcub-488da01892fccd6724723288e02fffc8220e5c73.tar.bz2
Better social card logic
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index c45b176..85c662c 100644
--- a/README.md
+++ b/README.md
@@ -123,13 +123,17 @@ of the [demo](https://clente.github.io/hugo-bearcub/) for more information.
# Basic config
baseURL = "https://example.com"
theme = "hugo-bearcub"
-author = "John Doe"
copyright = "John Doe (CC BY 4.0)"
defaultContentLanguage = "en"
# Generate a nice robots.txt for SEO
enableRobotsTXT = true
+# Your name. For more information on why this must be a list, see
+# https://discourse.gohugo.io/t/site-author-usage/31459/8
+[author]
+ name = "John Doe"
+
# Setup syntax highlighting without inline styles. For more information about
# why you'd want to avoid inline styles, see
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src#unsafe_inline_styles
@@ -189,9 +193,9 @@ enableRobotsTXT = true
hideUntranslated = false
# (EXPERIMENTAL) This theme is capable of dynamically generating social cards
- # for posts that don't have `images` defined in their front matter. By setting
+ # for posts that don't have `images` defined in their front matter; By setting
# `generateSocialCard` to false, you can prevent this behavior. For more
- # information about images, see https://gohugo.io/functions/images/
+ # information see layouts/partials/seo_tags.html
generateSocialCard = true
# Social media. Delete any item you aren't using to make sure it won't show up