diff --git a/docs/plugins/social.md b/docs/plugins/social.md index 5c340f965..7ad60addf 100644 --- a/docs/plugins/social.md +++ b/docs/plugins/social.md @@ -420,6 +420,7 @@ defining which parts of your layout can be parametrized. The [`default` layouts] - [`background_image`][option.background_image] - [`color`][option.color] - [`font_family`][option.font_family] +- [`font_variant`][option.font_variant] - [`logo`][option.logo] - [`title`][option.title] - [`description`][option.description] @@ -979,6 +980,29 @@ no further configuration needed. --- +#### + + + + + +Use this option to change the font variant used to generate the social card. +If the downloaded font has variants like `Condensed` or `Expanded`, you can set +them with: + +``` yaml +plugins: + - social: + cards_layout_options: + font_variant: Condensed +``` + +The variant is combined with the style as used in the custom layout, so the +plugin is instructed to use combinations like `Condensed Regular` or +`Expanded Bold`. + +--- + ####