refactor: convert Tag Cloud to TOML
This commit is contained in:
parent
3927a27258
commit
278c0cc183
2 changed files with 26 additions and 28 deletions
|
@ -1,22 +1,24 @@
|
|||
+++
|
||||
# Tag Cloud widget.
|
||||
widget = "tag_cloud" # See https://sourcethemes.com/academic/docs/page-builder/
|
||||
headless = true # This file represents a page section.
|
||||
active = true # Activate this widget? true/false
|
||||
weight = 120 # Order that this section will appear.
|
||||
---
|
||||
# An instance of the Tag Cloud widget.
|
||||
# Docs: https://wowchemy.com/docs/page-builder/
|
||||
widget: tag_cloud
|
||||
|
||||
title = "Popular Topics"
|
||||
subtitle = ""
|
||||
# This file represents a page section.
|
||||
headless: true
|
||||
|
||||
[content]
|
||||
# Choose the taxonomy from `config.toml` to display (e.g. tags, categories)
|
||||
taxonomy = "tags"
|
||||
|
||||
# Order that this section appears on the page.
|
||||
weight: 120
|
||||
|
||||
title: Popular Topics
|
||||
subtitle: ''
|
||||
|
||||
content:
|
||||
# Choose the taxonomy from `config.toml` to display (e.g. tags, categories)
|
||||
taxonomy: tags
|
||||
# Choose how many tags you would like to display (0 = all tags)
|
||||
count = 20
|
||||
|
||||
[design]
|
||||
count: 20
|
||||
design:
|
||||
# Minimum and maximum font sizes (1.0 = 100%).
|
||||
font_size_min = 0.7
|
||||
font_size_max = 2.0
|
||||
+++
|
||||
font_size_min: 0.7
|
||||
font_size_max: 2.0
|
||||
---
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
---
|
||||
# An instance of the Tag Cloud widget.
|
||||
# Documentation: https://sourcethemes.com/academic/docs/page-builder/
|
||||
# Docs: https://wowchemy.com/docs/page-builder/
|
||||
widget: tag_cloud
|
||||
|
||||
# Activate this widget? true/false
|
||||
active: true
|
||||
|
||||
# This file represents a page section.
|
||||
headless: true
|
||||
|
||||
|
@ -13,16 +10,15 @@ headless: true
|
|||
weight: 120
|
||||
|
||||
title: Popular Topics
|
||||
subtitle:
|
||||
subtitle: ''
|
||||
|
||||
content:
|
||||
# Choose the taxonomy from `config.toml` to display (e.g. tags, categories)
|
||||
taxonomy: tags
|
||||
# Choose how many tags you would like to display (0 = all tags)
|
||||
count: 20
|
||||
|
||||
# Choose the taxonomy from `config.toml` to display (e.g. tags, categories)
|
||||
taxonomy: tags
|
||||
|
||||
design:
|
||||
# Minimum and maximum font sizes (1.0 = 100%).
|
||||
font_size_min: 0.7
|
||||
font_size_max: 2
|
||||
font_size_max: 2.0
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue