|
|
@ -34,6 +34,20 @@ plugins: [
|
|
|
|
]
|
|
|
|
]
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
plugins: [
|
|
|
|
|
|
|
|
new SiteomatWebpackPlugin(
|
|
|
|
|
|
|
|
'./resources/site',
|
|
|
|
|
|
|
|
'./resources/views',
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
<options>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Type | Default | Description |
|
|
|
|
| Name | Type | Default | Description |
|
|
|
|
|-------------|-----------|---------|-------------|
|
|
|
|
|-------------|-----------|---------|-------------|
|
|
|
|
| destination | {String} | null | If not set, it will use the public path |
|
|
|
|
| destination | {String} | null | If not set, it will use the public path |
|
|
|
@ -56,7 +70,24 @@ media:
|
|
|
|
|
|
|
|
|
|
|
|
## Blocks
|
|
|
|
## Blocks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"_blocks" in a Directory.
|
|
|
|
|
|
|
|
|
|
|
|
## Find
|
|
|
|
## Find
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic Usage:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
pageQuery.find()
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
or with options,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Type | Default | Description |
|
|
|
|
|
|
|
|
|-------------|-----------|---------|-------------|
|
|
|
|
|
|
|
|
| parent | {String} | / | |
|
|
|
|
|
|
|
|
| deep | {Integer} | -1 | |
|
|
|
|
|
|
|
|
| orderBy | {Array} | null | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Templates
|
|
|
|
## Templates
|
|
|
|
|
|
|
|
|
|
|
|