Class: Site

types~Site(siteDir) → {Site}

new Site(siteDir) → {Site}

Site's data.

Parameters:
Name Type Description
siteDir String
Properties:
Name Type Description
siteConfig Object
themeConfig Object
posts Array.<File>
pages Array.<File>
assets Array.<File>
files Array.<File>

Generated by generator.

categories Array.<Category>
categoriesLength Number

Flattened categories length.

tags Array.<Tag>
tagsLength Number

Flattened tags length.

Source:
Returns:
Type
Site

Members

(static) arrayKeys

Available keys for site file arrays.

Source: