summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/Index/Index.cshtml
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-03 23:06:42 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-03 23:06:42 -0500
commit8ddb60cee636cc17291100c316df4786eb3bb448 (patch)
treeae86b8f6ccc482a913aeabe04b9a72dd2fa5d02e /src/SMAPI.Web/Views/Index/Index.cshtml
parent2b1f607d41b3d4d071c0db0671dbc99b6982909f (diff)
downloadSMAPI-8ddb60cee636cc17291100c316df4786eb3bb448.tar.gz
SMAPI-8ddb60cee636cc17291100c316df4786eb3bb448.tar.bz2
SMAPI-8ddb60cee636cc17291100c316df4786eb3bb448.zip
move supporter list into environment config
Diffstat (limited to 'src/SMAPI.Web/Views/Index/Index.cshtml')
-rw-r--r--src/SMAPI.Web/Views/Index/Index.cshtml24
1 files changed, 9 insertions, 15 deletions
diff --git a/src/SMAPI.Web/Views/Index/Index.cshtml b/src/SMAPI.Web/Views/Index/Index.cshtml
index ec9cfafe..5d91dc84 100644
--- a/src/SMAPI.Web/Views/Index/Index.cshtml
+++ b/src/SMAPI.Web/Views/Index/Index.cshtml
@@ -1,3 +1,4 @@
+@using Markdig
@using Microsoft.Extensions.Options
@using StardewModdingAPI.Web.Framework
@using StardewModdingAPI.Web.Framework.ConfigModels
@@ -94,29 +95,22 @@ else
</li>
<li>
<a href="https://ko-fi.com/pathoschild" class="donate-button">
- <img src="Content/images/ko-fi.png"/> Buy me a coffee
+ <img src="Content/images/ko-fi.png" /> Buy me a coffee
</a>
</li>
<li>
<a href="https://www.paypal.me/pathoschild" class="donate-button">
- <img src="Content/images/paypal.png"/> Donate via PayPal
+ <img src="Content/images/paypal.png" /> Donate via PayPal
</a>
</li>
</ul>
-<p>
- Special thanks to
- <a href="https://www.nexusmods.com/users/65566526?tab=user+files">bwdy</a>,
- hawkfalcon,
- <a href="https://twitter.com/iKeychain">iKeychain</a>,
- jwdred,
- <a href="https://www.nexusmods.com/users/12252523">Karmylla</a>,
- <a href="https://www.nexusmods.com/stardewvalley/users/51777556">minervamaga</a>,
- Pucklynn,
- Renorien,
- Robby LaFarge,
- and a few anonymous users for their ongoing support on Patreon; you're awesome!
-</p>
+@if (!string.IsNullOrWhiteSpace(Model.SupporterList))
+{
+ @Html.Raw(Markdig.Markdown.ToHtml(
+ $"Special thanks to {Model.SupporterList}, and a few anonymous users for their ongoing support on Patreon; you're awesome!"
+ ))
+}
<h2 id="modcreators">For mod creators</h2>
<ul>