Skip to content

Commit 6dd290e

Browse files
committed
Added readme for sponsors
1 parent a265ffc commit 6dd290e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ The appsettings.json file has a lot of options to customize the content of the b
5858
"Disqus": {
5959
"Shortname": "blog"
6060
},
61-
"KofiToken": "ABC123"
61+
"KofiToken": "ABC123",
62+
"GithubSponsorName": "your-tag-here"
6263
}
6364

6465
```
@@ -90,6 +91,7 @@ The appsettings.json file has a lot of options to customize the content of the b
9091
| Giscus | node | Enables the comment section via giscus. If left empty the comment secion will not be shown. For more information checkout the section about comments down below |
9192
| Disqus | node | Enables the comment section via disqus. If left empty the comment secion will not be shown. For more information checkout the section about comments down below |
9293
| KofiToken | string | Enables the "Buy me a Coffee" button of Kofi. To aquire the token head down to the "Kofi" section |
94+
| GithubSponsorName | string | Enables the "Github Sponsor" button which redirects to GitHub. Only pass in the user name instead of the url.|
9395

9496
## Storage Provider
9597
Currently there are 4 Storage-Provider:
@@ -155,6 +157,9 @@ The blog software allows you to integrate via different micro-transaction servic
155157
You can use [Ko-fi](https://Ko-fi.com/) as payment service to receive donations. To aquire the `KofiToken` as seen in the config above, head to [wdigets page](https://Ko-fi.com/manage/widgets), click on "Ko-fi Button".
156158
Now choose "Image" as type. In the field below under `Copy & Paste Code` you see an `<a href='https://ko-fi.com/XYZ'` tag. Just take the `XYZ` part and put it into `KofiToken`.
157159

160+
### GitHub Sponsor
161+
Enables the usage of [GitHub Sponsors](https://github.com/sponsors) as payment service to receive donations. Only pass in your username. The button will use the following url: `https://github.com/sponsors/{your-user-name}`.
162+
158163
## Search Engine Optimization (SEO)
159164
The blog includes some of the most important tags to get indexed by a crawler. Furthermore some aspects of the Open Graph specification are implemented.
160165

src/LinkDotNet.Blog.Web/appsettings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,5 @@
3232
"Name": "Steven Giesel",
3333
"Heading": "Software Engineer",
3434
"ProfilePictureUrl": "assets/profile-picture.webp"
35-
},
36-
"KofiToken": "----",
37-
"GithubSponsorName": "linkdotnet"
35+
}
3836
}

0 commit comments

Comments
 (0)