@@ -106,6 +106,21 @@ The following configuration options are available:
106
106
107
107
The path must be defined relative to [`docs_dir`][docs_dir].
108
108
109
+ [`blog_toc`](#+blog.blog_toc){ # +blog.blog_toc }
110
+
111
+ : :octicons-milestone-24 : Default: `false` – This option specifies whether
112
+ indexes include a table of contents with all post titles on the
113
+ right side as an overview :
114
+
115
+ ` ` ` yaml
116
+ plugins:
117
+ - blog:
118
+ blog_toc: true
119
+ ` ` `
120
+
121
+ Note that this setting is also used as the default value for `archive_toc`
122
+ and `categories_toc`, unless those settings are explicitly defined.
123
+
109
124
__The built-in blog plugin has dozens of options that allow for advanced
110
125
configuration. It's a good idea to [start writing your first post], and come
111
126
back here later for fine-tuning the output.__
@@ -493,6 +508,18 @@ The following configuration options are available for archive index generation:
493
508
archive_url_format: "{date}"
494
509
` ` `
495
510
511
+ [`archive_toc`](#+blog.archive_toc){ # +blog.archive_toc }
512
+
513
+ : :octicons-milestone-24 : Default: `false` – This option specifies whether an
514
+ archive index includes a table of contents with all post titles on the
515
+ right side as an overview :
516
+
517
+ ` ` ` yaml
518
+ plugins:
519
+ - blog:
520
+ archive_toc: true
521
+ ` ` `
522
+
496
523
# ### Categories
497
524
498
525
The following configuration options are available for category index generation :
@@ -582,18 +609,6 @@ The following configuration options are available for category index generation:
582
609
categories_slugify_separator: "-"
583
610
` ` `
584
611
585
- [`categories_toc`](#+blog.categories_toc){ # +blog.categories_toc }
586
-
587
- : :octicons-milestone-24 : Default: `false` – This option specifies whether a
588
- category index includes a table of contents with all post titles on the
589
- right side as an overview :
590
-
591
- ` ` ` yaml
592
- plugins:
593
- - blog:
594
- categories_toc: true
595
- ` ` `
596
-
597
612
[`categories_allowed`](#+blog.categories_allowed){ # +blog.categories_allowed }
598
613
599
614
: :octicons-milestone-24 : Default: _none_ – This option specifies the
@@ -610,6 +625,18 @@ The following configuration options are available for category index generation:
610
625
- Performance
611
626
` ` `
612
627
628
+ [`categories_toc`](#+blog.categories_toc){ # +blog.categories_toc }
629
+
630
+ : :octicons-milestone-24 : Default: `false` – This option specifies whether a
631
+ category index includes a table of contents with all post titles on the
632
+ right side as an overview :
633
+
634
+ ` ` ` yaml
635
+ plugins:
636
+ - blog:
637
+ categories_toc: true
638
+ ` ` `
639
+
613
640
# ### Pagination
614
641
615
642
The following configuration options are available for index pagination :
0 commit comments