From d935af3229e9050315b152a2ad35404f20aae3b5 Mon Sep 17 00:00:00 2001 From: Tom Yubing Dong Date: Fri, 27 Dec 2013 15:36:34 +0800 Subject: [PATCH] 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 --- docs/settings.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index 61ee7cc3..30353644 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -539,8 +539,8 @@ The default theme does not include a tag cloud, but it is pretty easy to add one {% endfor %} -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%; }