Update settings.rst to match tag cloud code

According to the implementation, the value of `tag.1` should be between 1 and `TAG_CLOUD_STEPS`, inclusive.

See:
https://github.com/getpelican/pelican/blob/master/pelican/generators.py#L457
This commit is contained in:
Tom Yubing Dong 2013-12-27 15:36:34 +08:00
commit d935af3229

View file

@ -539,8 +539,8 @@ The default theme does not include a tag cloud, but it is pretty easy to add one
{% endfor %} {% endfor %}
</ul> </ul>
You should then also define CSS styles with appropriate classes (tag-0 to tag-N, You should then also define CSS styles with appropriate classes (tag-1 to tag-N,
where N matches ``TAG_CLOUD_STEPS`` -1), tag-0 being the most frequent, and where N matches ``TAG_CLOUD_STEPS``), tag-1 being the most frequent, and
define a ``ul.tagcloud`` class with appropriate list-style to create the cloud. define a ``ul.tagcloud`` class with appropriate list-style to create the cloud.
For example:: For example::
@ -553,11 +553,11 @@ For example::
display: inline-block; display: inline-block;
} }
li.tag-0 { li.tag-1 {
font-size: 150%; font-size: 150%;
} }
li.tag-1 { li.tag-2 {
font-size: 120%; font-size: 120%;
} }