Add content/layouts/search.md
This commit is contained in:
@@ -18,22 +18,26 @@ languages:
|
|||||||
name: Blog
|
name: Blog
|
||||||
url: /blog/
|
url: /blog/
|
||||||
weight: 30
|
weight: 30
|
||||||
|
- identifier: layouts
|
||||||
|
name: Layouts
|
||||||
|
url: /layouts/
|
||||||
|
weight: 40
|
||||||
- identifier: shortcodes
|
- identifier: shortcodes
|
||||||
name: Shortcodes
|
name: Shortcodes
|
||||||
url: /shortcodes/
|
url: /shortcodes/
|
||||||
weight: 40
|
weight: 50
|
||||||
- identifier: categories
|
- identifier: categories
|
||||||
name: Categories
|
name: Categories
|
||||||
url: /categories/
|
url: /categories/
|
||||||
weight: 50
|
weight: 60
|
||||||
- identifier: tags
|
- identifier: tags
|
||||||
name: Tags
|
name: Tags
|
||||||
url: /tags/
|
url: /tags/
|
||||||
weight: 60
|
weight: 70
|
||||||
- identifier: search
|
- identifier: search
|
||||||
name: Search
|
name: Search
|
||||||
url: /search/
|
url: /search/
|
||||||
weight: 70
|
weight: 80
|
||||||
title: No Borders, No Limits
|
title: No Borders, No Limits
|
||||||
weight: 10
|
weight: 10
|
||||||
markup:
|
markup:
|
||||||
|
28
exampleSite/content/layouts/search.md
Normal file
28
exampleSite/content/layouts/search.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
authors: [michael_bluth]
|
||||||
|
categories: [paige]
|
||||||
|
date: "2023-02-12"
|
||||||
|
description: Demonstration of the Paige search layout.
|
||||||
|
layout: paige/search
|
||||||
|
tags: [layouts, search]
|
||||||
|
title: Search Layout
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
Example `config.yaml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
outputs:
|
||||||
|
home: ["html", "json", "rss"]
|
||||||
|
```
|
||||||
|
|
||||||
|
Example `content/layouts/search.md`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
layout: paige/search
|
||||||
|
title: Search Layout
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Result:
|
Reference in New Issue
Block a user