arulrajnet / attila

Pelican version of ghost theme https://github.com/zutrinken/attila
MIT License
173 stars 74 forks source link

Render tag cloud on tags page #37

Closed sio closed 6 years ago

sio commented 6 years ago

Tags page was quite boring and didn't use horizontal space efficiently. This commit replaces plain tag list with tag cloud that gracefully scales to any screen (Attila's responsive design principle is not violated).

Details:

There exists a separate plugin for tag cloud, but using it still requires making changes to the theme. Trivial math calculations can be done as easily in Jinja as in Python, so the dependency on external package can and should be avoided.

Screenshots: before, after

arulrajnet commented 6 years ago

@sio please update this setting about in README. Otherwise LGTM

sio commented 6 years ago

I have added the relevant section to README.