Require alert config object

This commit is contained in:
Will Faught
2024-06-03 23:27:27 -07:00
parent 46afb013bc
commit c495b5aab8
6 changed files with 8 additions and 31 deletions

View File

@@ -2,14 +2,14 @@
authors: ["will-faught"]
categories: ["content", "paige"]
date: "2023-09-18T21:21:05-07:00"
description: "A complex alert."
description: "An alert."
paige:
alert:
message: "Get more information <a href=\"#\" class=\"alert-link\">here</a>."
type: "danger"
type: "primary"
tags: ["alerts"]
title: "Complex Alert"
weight: 70
title: "Alert"
weight: 60
---
This page has the following parameters:
@@ -18,5 +18,5 @@ This page has the following parameters:
paige:
alert:
message: "Get more information <a href=\"#\" class=\"alert-link\">here</a>."
type: "danger"
type: "primary"
```

View File

@@ -6,7 +6,7 @@ description: "A front matter link."
link: "https://willfaught.com/paige"
tags: ["link"]
title: "Link"
weight: 80
weight: 70
---
It takes you to the home page.

View File

@@ -1,18 +0,0 @@
---
authors: ["will-faught"]
categories: ["content", "paige"]
date: "2023-09-18T21:33:35-07:00"
description: "A simple alert."
paige:
alert: "Get more information <a href=\"#\" class=\"alert-link\">here</a>."
tags: ["alerts"]
title: "Simple Alert"
weight: 60
---
This page has the following parameters:
```yaml
paige:
alert: "Get more information <a href=\"#\" class=\"alert-link\">here</a>."
```

View File

@@ -5,7 +5,7 @@ date: "2023-09-24T21:29:31-07:00"
description: "Only a video."
tags: ["video"]
title: "Video"
weight: 90
weight: 80
---
{{< paige/youtube "dQw4w9WgXcQ" >}}