Skip to content

Commit 81b7ed5

Browse files
authored
merge migrations
1 parent 879159d commit 81b7ed5

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

MIGRATION.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,22 @@ These moved to their own respective subsection:
2626
}
2727
```
2828

29-
The `ShowUnderBlogPost` is neede to indicate that the part will be shown under each blog post. We also added more possibilities to customize this: Checkout the [Donation section in the documentation](docs/Donations/Readme.md).
29+
The `ShowUnderBlogPost` is needed to indicate that the part will be shown under each blog post. We also added more possibilities to customize this:
30+
31+
```json
32+
"SupportMe": {
33+
"KofiToken": "ABC123",
34+
"GithubSponsorName": "your-tag-here",
35+
"PatreonName": "your-tag-here",
36+
"ShowUnderBlogPost": true,
37+
"ShowUnderIntroduction": true,
38+
"ShowInFooter": true,
39+
"ShowSupportMePage": true,
40+
"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**."
41+
}
42+
```
43+
44+
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. Checkout the [Donation section in the documentation](docs/Donations/Readme.md).
3045

3146
### Shortcodes
3247
Shortcodes, a form a templating that can be adjusted dynamically, are introduced in this version. The following table has to be added to the database:
@@ -67,20 +82,3 @@ Add the following to the `appsettings.json`:
6782
```
6883

6984
Or `false` if you don't want to use this feature.
70-
71-
### Donation configuration
72-
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.
73-
74-
```json
75-
"SupportMe": {
76-
"KofiToken": "ABC123",
77-
"GithubSponsorName": "your-tag-here",
78-
"PatreonName": "your-tag-here",
79-
"ShowUnderBlogPost": true,
80-
"ShowUnderIntroduction": true,
81-
"ShowInFooter": true,
82-
"ShowSupportMePage": true,
83-
"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**."
84-
}
85-
```
86-

0 commit comments

Comments
 (0)