new Site(siteDir) → {Site}
Site's data.
Parameters:
Name | Type | Description |
---|---|---|
siteDir |
String |
Properties:
Name | Type | Description |
---|---|---|
siteConfig |
Object | |
themeConfig |
Object | |
languages |
Map | |
layouts |
Map | |
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. |
Returns:
- Type
- Site
Members
(static) arrayKeys
Available keys for site file arrays.