tag_cloud ========= This plugin generates a tag-cloud. Installation ------------ In order to use to use this plugin, you have to edit(*) or create(+) the following files:: blog/ ├── pelicanconf.py * ├── content ├── plugins + │ └── tag_cloud.py + └── themes └── mytheme ├── templates │ └── base.html * └── static └── css └── style.css * In **pelicanconf.py** you have to activate the plugin:: PLUGIN_PATHS = ["plugins"] PLUGINS = ["tag_cloud"] Into your **plugins** folder, you should add tag_cloud.py (from this repository). In your theme files, you should change **base.html** to apply formats (and sizes) defined in **style.css**, as specified in "Settings", below. Settings -------- ================================================ ===================================================== Setting name (followed by default value) What does it do? ================================================ ===================================================== ``TAG_CLOUD_STEPS = 4`` Count of different font sizes in the tag cloud. ``TAG_CLOUD_MAX_ITEMS = 100`` Maximum number of tags in the cloud. ``TAG_CLOUD_SORTING = 'random'`` The tag cloud ordering scheme. Valid values: random, alphabetically, alphabetically-rev, size and size-rev ``TAG_CLOUD_BADGE = True`` Optionnal setting : can bring **badges**, which mean say : display the number of each tags present on all articles. ================================================ ===================================================== The default theme does not include a tag cloud, but it is pretty easy to add one::