@@ -331,6 +331,46 @@ The following configuration options are available for card generation:
331
331
font_family: Ubuntu
332
332
` ` `
333
333
334
+ [`title`](#+social.cards_layout_options.title){ # +social.cards_layout_options.title }
335
+
336
+ : [:octicons-tag-24 : insiders-4.40.0][Insiders] – Set the social card
337
+ title, which takes precedence over `page.title` and `page.meta.title` :
338
+
339
+ ` ` ` yaml
340
+ plugins:
341
+ - social:
342
+ cards_layout_options:
343
+ title: Social card title
344
+ ` ` `
345
+
346
+ [`description`](#+social.cards_layout_options.description){ # +social.cards_layout_options.description }
347
+
348
+ : [:octicons-tag-24 : insiders-4.40.0][Insiders] – Set the social card
349
+ description, which takes precedence over `site_description` and
350
+ `page.meta.description` :
351
+
352
+ ` ` ` yaml
353
+ plugins:
354
+ - social:
355
+ cards_layout_options:
356
+ description: Social card description
357
+ ` ` `
358
+
359
+ [`logo`](#+social.cards_layout_options.logo){ # +social.cards_layout_options.logo }
360
+
361
+ : [:octicons-tag-24 : insiders-4.40.0][Insiders] – Set the logo used as
362
+ part of the social card, overriding the `theme.logo` or
363
+ `theme.icon.logo` settings which are used as defaults :
364
+
365
+ ` ` ` yaml
366
+ plugins:
367
+ - social:
368
+ cards_layout_options:
369
+ logo: layouts/logo.png
370
+ ` ` `
371
+
372
+ The path of the image must be defined relative to the project root.
373
+
334
374
[`cards_include`](#+privacy.cards_include){ # +privacy.cards_include }
335
375
336
376
: [:octicons-tag-24 : insiders-4.35.0][Insiders] · :octicons-milestone-24:
@@ -507,16 +547,16 @@ The following configuration options are available for caching:
507
547
# # Usage
508
548
509
549
If you want to adjust the title or set a custom description for the social card,
510
- you can set the front matter `title` and `description` properties, which take
511
- precedence over the default values.
550
+ you can set the front matter [`title`][Changing the title] and
551
+ [`description`][Changing the description] properties, which take precedence over
552
+ the defaults, or use :
512
553
513
- - [Changing the title]
514
- - [Changing the description]
554
+ - [`cards_layout_options. title`](#+social.cards_layout_options.title)
555
+ - [`cards_layout_options. description`](#+social.cards_layout_options.description)
515
556
516
557
[Changing the title] : ../reference/index.md#setting-the-page-title
517
558
[Changing the description] : ../reference/index.md#setting-the-page-description
518
559
519
-
520
560
# ## Choosing a font
521
561
522
562
Some fonts do not contain CJK characters, like for example the
0 commit comments