Skip to content

Commit 5ab6d4b

Browse files
digitaldirklinkdotnet
authored andcommitted
Add donation config
Added instructions and example for new donation config
1 parent 79c68a9 commit 5ab6d4b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

MIGRATION.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,20 @@ Add the following to the `appsettings.json`:
4242
```
4343

4444
Or `false` if you don't want to use this feature.
45+
46+
### Donation configuration
47+
Existing donation settings are now moved to a "SupportMe" node. Copy your previously set values for `KofiToken`, `GithubSponsorName`, and `PatreonName` and follow the new format below. Use `true` or `false` to choose where you want the donation buttons to appear and also a support me page can optionally be added to the nav menu.
48+
49+
```json
50+
"SupportMe": {
51+
"KofiToken": "ABC123",
52+
"GithubSponsorName": "your-tag-here",
53+
"PatreonName": "your-tag-here",
54+
"ShowUnderBlogPost": true,
55+
"ShowUnderIntroduction": true,
56+
"ShowInFooter": true,
57+
"ShowSupportMePage": true,
58+
"SupportMePageDescription": "Buy my book here: [My Blazor Book](https://google.com) or please contribute to my open-source project here: [My Awesome Repo](https://github.com) . This can be **markdown**."
59+
}
60+
```
61+

0 commit comments

Comments
 (0)