File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,7 @@ defining which parts of your layout can be parametrized. The [`default` layouts]
420
420
- [`background_image`][option.background_image]
421
421
- [`color`][option.color]
422
422
- [`font_family`][option.font_family]
423
+ - [`font_variant`][option.font_variant]
423
424
- [`logo`][option.logo]
424
425
- [`title`][option.title]
425
426
- [`description`][option.description]
@@ -979,6 +980,29 @@ no further configuration needed.
979
980
980
981
---
981
982
983
+ # ### <!-- md:setting option.font_variant -->
984
+
985
+ <!-- md:sponsors -->
986
+ <!-- md:version insiders-4.53.3 -->
987
+ <!-- md:default none -->
988
+
989
+ Use this option to change the font variant used to generate the social card.
990
+ If the downloaded font has variants like `Condensed` or `Expanded`, you can set
991
+ them with :
992
+
993
+ ` ` ` yaml
994
+ plugins:
995
+ - social:
996
+ cards_layout_options:
997
+ font_variant: Condensed
998
+ ` ` `
999
+
1000
+ The variant is combined with the style as used in the custom layout, so the
1001
+ plugin is instructed to use combinations like `Condensed Regular` or
1002
+ ` Expanded Bold` .
1003
+
1004
+ ---
1005
+
982
1006
# ### <!-- md:setting option.logo -->
983
1007
984
1008
<!-- md:sponsors -->
You can’t perform that action at this time.
0 commit comments