Add content/layouts/search.md
This commit is contained in:
@@ -18,22 +18,26 @@ languages:
|
||||
name: Blog
|
||||
url: /blog/
|
||||
weight: 30
|
||||
- identifier: layouts
|
||||
name: Layouts
|
||||
url: /layouts/
|
||||
weight: 40
|
||||
- identifier: shortcodes
|
||||
name: Shortcodes
|
||||
url: /shortcodes/
|
||||
weight: 40
|
||||
weight: 50
|
||||
- identifier: categories
|
||||
name: Categories
|
||||
url: /categories/
|
||||
weight: 50
|
||||
weight: 60
|
||||
- identifier: tags
|
||||
name: Tags
|
||||
url: /tags/
|
||||
weight: 60
|
||||
weight: 70
|
||||
- identifier: search
|
||||
name: Search
|
||||
url: /search/
|
||||
weight: 70
|
||||
weight: 80
|
||||
title: No Borders, No Limits
|
||||
weight: 10
|
||||
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