mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
0b3dc9db21
commit
d935af3229
1 changed files with 4 additions and 4 deletions
|
|
@ -539,8 +539,8 @@ The default theme does not include a tag cloud, but it is pretty easy to add one
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
You should then also define CSS styles with appropriate classes (tag-0 to tag-N,
|
||||
where N matches ``TAG_CLOUD_STEPS`` -1), tag-0 being the most frequent, and
|
||||
You should then also define CSS styles with appropriate classes (tag-1 to tag-N,
|
||||
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.
|
||||
For example::
|
||||
|
||||
|
|
@ -553,11 +553,11 @@ For example::
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
li.tag-0 {
|
||||
li.tag-1 {
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
li.tag-1 {
|
||||
li.tag-2 {
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue