{:awestruct}

Latest version is 0.2.18

A static site-baking tool.
Have you been awestructed?

Get Started!

The TagCloud extension allows for the creation of tag clouds from an input collection. Often it may be used with the Posts extension

Usage

Parameters

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 Path prefix to emit the resulting tag-cloud page.
opts Additional optiosn hash to set the `title` and `layout` parameters of the tag cloud page.

Options

layout The layout of the resulting page
title The title of the resulting page.

Examples

Generic Installation

Awestruct::Extensions::Pipeline.new do
  extension Awestruct::Extensions::TagCloud.new(var_name, output_path, opts)
end

See Also