File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 1919
2020` ` ` yml
2121jekyll-archives:
22- layout: archive # The layout to use for archive pages.
23- permalinks:
24- year: '/archive/:name' # The permalink to use for year-based archives.
25- tag: '/tag/:name' # The permalink to use for tag archives.
26- category: '/category/:name' # The permalink to use for category archives.
22+ layout: archive # The default layout to use for archive pages.
23+ enabled: # Specifies which archives are enabled.
24+ - year
25+ - month
26+ - tags
27+ layouts: # (Optional) Specifies type-specific layouts.
28+ year: year-archive
29+ month: month-archive
30+ permalinks: # (Optional) The permalinks to use for each archive.
31+ year: '/:year/'
32+ month: '/:year/:month/'
33+ day: '/:year/:month/:day'
34+ tag: '/tag/:name/'
35+ category: '/category/:name/'
2736` ` `
37+
38+ # ## The `enabled` setting
39+ Archives are enabled based on the following configuration rules :
40+ - All archives are disabled by default.
41+ - All archives can be enabled by setting `enabled : true` or `enabled: all`.
42+ - Individual archives can be enabled by setting `enabled` to an array (see above example).
You can’t perform that action at this time.
0 commit comments