Rename exampleSite to example
This commit is contained in:
4
example/content/layouts/_index.md
Normal file
4
example/content/layouts/_index.md
Normal file
@@ -0,0 +1,4 @@
|
||||
+++
|
||||
description = "Demonstrations of layouts."
|
||||
title = "Layouts"
|
||||
+++
|
20
example/content/layouts/cloud/_index.md
Normal file
20
example/content/layouts/cloud/_index.md
Normal file
@@ -0,0 +1,20 @@
|
||||
+++
|
||||
authors = ["author-demo"]
|
||||
categories = ["layouts", "paige"]
|
||||
description = "Demonstration of the cloud layout."
|
||||
layout = "paige/cloud"
|
||||
tags = ["cloud"]
|
||||
title = "Cloud"
|
||||
+++
|
||||
|
||||
The `paige/cloud` layout displays list page links as a link cloud.
|
||||
|
||||
<!--more-->
|
||||
|
||||
This page has the following parameters:
|
||||
|
||||
```yaml
|
||||
layout: "paige/cloud"
|
||||
```
|
||||
|
||||
Result:
|
3
example/content/layouts/cloud/apple.md
Normal file
3
example/content/layouts/cloud/apple.md
Normal file
@@ -0,0 +1,3 @@
|
||||
+++
|
||||
title = "Apple"
|
||||
+++
|
3
example/content/layouts/cloud/banana.md
Normal file
3
example/content/layouts/cloud/banana.md
Normal file
@@ -0,0 +1,3 @@
|
||||
+++
|
||||
title = "Banana"
|
||||
+++
|
3
example/content/layouts/cloud/cantaloupe.md
Normal file
3
example/content/layouts/cloud/cantaloupe.md
Normal file
@@ -0,0 +1,3 @@
|
||||
+++
|
||||
title = "Cantaloupe"
|
||||
+++
|
30
example/content/layouts/search.md
Normal file
30
example/content/layouts/search.md
Normal file
@@ -0,0 +1,30 @@
|
||||
+++
|
||||
authors = ["author-demo"]
|
||||
categories = ["layouts", "paige"]
|
||||
description = "Demonstration of the search layout."
|
||||
layout = "paige/search"
|
||||
tags = ["search"]
|
||||
title = "Search"
|
||||
+++
|
||||
|
||||
The `paige/search` layout provides site search.
|
||||
|
||||
<!--more-->
|
||||
|
||||
Example `config.yaml`:
|
||||
|
||||
```yaml
|
||||
outputs:
|
||||
home: ["atom", "html", "paige-search", "rss"]
|
||||
```
|
||||
|
||||
Example `content/layouts/search.md`:
|
||||
|
||||
```yaml
|
||||
---
|
||||
layout: "paige/search"
|
||||
title: "Search"
|
||||
---
|
||||
```
|
||||
|
||||
Result:
|
Reference in New Issue
Block a user