Skip to content

Commit 2637c53

Browse files
Remove tagcloud.enable option
1 parent 1c5a282 commit 2637c53

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,6 @@ cheers: true
370370

371371
# TagCloud settings for tags page.
372372
tagcloud:
373-
# If true, font size, font color and amount of tags can be customized
374-
enable: false
375373
# All values below are same as default, change them by yourself
376374
min: 12 # Minimun font size in px
377375
max: 30 # Maxium font size in px

layout/page.swig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@
3434
{{ _p('counter.tag_cloud', site.tags.length) }}
3535
</div>
3636
<div class="tag-cloud-tags">
37-
{%- if not theme.tagcloud %}
38-
{{ tagcloud({min_font: 12, max_font: 30, amount: 200, color: true, start_color: '#ccc', end_color: '#111'}) }}
39-
{% else %}
40-
{{ tagcloud({min_font: theme.tagcloud.min, max_font: theme.tagcloud.max, amount: theme.tagcloud.amount, color: true, start_color: theme.tagcloud.start, end_color: theme.tagcloud.end}) }}
41-
{%- endif %}
37+
{{ tagcloud({min_font: theme.tagcloud.min, max_font: theme.tagcloud.max, amount: theme.tagcloud.amount, color: true, start_color: theme.tagcloud.start, end_color: theme.tagcloud.end}) }}
4238
</div>
4339
</div>
4440
{% elif page.type === 'categories' %}

0 commit comments

Comments
 (0)