diff --git a/content/en/templates/internal.md b/content/en/templates/internal.md index 8bc832c27..79479bdfe 100644 --- a/content/en/templates/internal.md +++ b/content/en/templates/internal.md @@ -203,6 +203,18 @@ If no images are found at all, then an image-less Twitter `summary` card is used Hugo uses the page title and description for the card's title and description fields. The page summary is used if no description is given. +The `.Site.Social.twitter` variable is exposed from the config as the value for `twitter:site`. + +{{< code-toggle file="config" >}} +[social] + twitter = "GoHugoIO" +{{}} + +NOTE: The `@` will be added for you +``` + +``` + ### Use the Twitter Cards Template To add Twitter card metadata, include the following line immediately after the `` element in your templates: