The TagCloud
extension allows for the creation of tag clouds from
an input collection. Often it may be used with the Posts
extension
Awestruct::Extensions::TagCloud.new(var_name, output_path, opts)
Parameter | Description |
---|---|
var_name
|
Name of property on `site` to act as a source of tagged pages, typically an array. |
output_path
|
/extensions/tag_cloud/usage.html |
opts
|
Additional optiosn hash to set the `title` and `layout` parameters of the tag cloud page. |
Awestruct::Extensions::Pipeline.new do
extension Awestruct::Extensions::TagCloud.new(var_name, output_path, opts)
end