This PR allows users to configure the tags widget in _config.icarus.yml like this, similar to the toc widget:
-
position: left
type: toc
index: false
collapsed: false
depth: 3 # show up to h3
-
position: left
type: tags
order_by: "-length"
With the above config, it renders like this:
Note that the tags in the widget are now sorted accordingly. Meanwhile, the body of /tags page still works and its content remains unchanged (it would be good to change it accordingly as well, but that's out of the scope of this PR).
This PR allows users to configure the
tags
widget in_config.icarus.yml
like this, similar to thetoc
widget:With the above config, it renders like this:
Note that the tags in the widget are now sorted accordingly. Meanwhile, the body of
/tags
page still works and its content remains unchanged (it would be good to change it accordingly as well, but that's out of the scope of this PR).This PR follows what's done in https://github.com/ppoffice/hexo-component-inferno/commit/08dd85fa049e02bee9880ad26f2e8f4bb66e882d.