Add file_link example

This commit is contained in:
Will Faught
2023-10-11 21:03:56 -07:00
parent 94a84f14fc
commit f00db61ac9
4 changed files with 19 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ authors: ["will-faught"]
categories: ["customization", "paige"]
description: "Demonstrations of Paige customization."
paige:
file_link:
disable: false
style: |
#paige-authors,
#paige-credit,
@@ -35,6 +37,8 @@ This page has the following parameters:
```yaml
paige:
file_link:
disable: false
style: |
#paige-authors,
#paige-credit,

View File

@@ -4,6 +4,8 @@ categories: ["customization", "paige"]
date: "2023-02-01"
description: "Demonstration of Paige customization that shows data."
paige:
file_link:
disable: false
style: |
#paige-authors,
#paige-credit,
@@ -36,6 +38,8 @@ This page has the following parameters:
```yaml
paige:
file_link:
disable: false
style: |
#paige-authors,
#paige-credit,

View File

@@ -4,6 +4,8 @@ categories: ["customization", "paige"]
date: "2023-01-01"
description: "Demonstration of Paige customization that styles data."
paige:
file_link:
disable: false
style: |
#paige-authors,
#paige-credit,
@@ -25,6 +27,7 @@ paige:
#paige-content { font-style: italic; }
#paige-date { font-style: italic; }
#paige-description { font-style: italic; }
#paige-file-link { font-style: italic; }
#paige-keywords { font-style: italic; }
#paige-reading-time { font-style: italic; }
#paige-series { font-style: italic; }
@@ -54,6 +57,8 @@ This page has the following parameters:
```yaml
paige:
file_link:
disable: false
style: |
#paige-authors,
#paige-credit,
@@ -75,6 +80,7 @@ paige:
#paige-content { font-style: italic; }
#paige-date { font-style: italic; }
#paige-description { font-style: italic; }
#paige-file-link { font-style: italic; }
#paige-keywords { font-style: italic; }
#paige-reading-time { font-style: italic; }
#paige-series { font-style: italic; }

View File

@@ -108,6 +108,11 @@ url = "https://willfaught.com/paige"
managing_editor = "will.faught@example.com (Will Faught)"
web_master = "will.faught@example.com (Will Faught)"
[params.paige.file_link]
content = "Edit this page"
disable = true
url = "https://github.com/willfaught/paige/edit/master/exampleSite/content/%s"
[taxonomies]
author = "authors"
category = "categories"