diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-25 10:42:18 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-25 10:42:18 -0500 |
commit | f20e804622e8892a090a6678aa38f32898e0d433 (patch) | |
tree | 0527dd7a06d3def685fc2f913efdb6e65360103d /src/SMAPI.Web/Views/Shared | |
parent | bbd021f8736d1496f34a58b12bb0ee6c341d1c5e (diff) | |
parent | c90b821a43bd98c3268a25a324f10a1f2055d7ac (diff) | |
download | SMAPI-f20e804622e8892a090a6678aa38f32898e0d433.tar.gz SMAPI-f20e804622e8892a090a6678aa38f32898e0d433.tar.bz2 SMAPI-f20e804622e8892a090a6678aa38f32898e0d433.zip |
Merge branch 'feature/download-page' into develop
Diffstat (limited to 'src/SMAPI.Web/Views/Shared')
-rw-r--r-- | src/SMAPI.Web/Views/Shared/_Layout.cshtml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/SMAPI.Web/Views/Shared/_Layout.cshtml b/src/SMAPI.Web/Views/Shared/_Layout.cshtml index 547a8178..ac98c71b 100644 --- a/src/SMAPI.Web/Views/Shared/_Layout.cshtml +++ b/src/SMAPI.Web/Views/Shared/_Layout.cshtml @@ -1,3 +1,7 @@ +@using Microsoft.Extensions.Options +@using StardewModdingAPI.Web.Framework.ConfigModels +@inject IOptions<ContextConfig> ContextConfig + <!DOCTYPE html> <html> <head> @@ -10,9 +14,9 @@ <div id="sidebar"> <h4>SMAPI</h4> <ul> - <li><a href="https://stardewvalleywiki.com/Modding:Index">FAQs & guides</a></li> - <li><a href="https://github.com/pathoschild/SMAPI/releases">Download SMAPI</a></li> - <li><a href="https://discord.gg/stardewvalley">Get help on Discord</a></li> + <li><a href="@ContextConfig.Value.RootUrl">About SMAPI</a></li> + <li><a href="@ContextConfig.Value.LogParserUrl">Log parser</a></li> + <li><a href="https://stardewvalleywiki.com/Modding:Index">Docs</a></li> </ul> </div> <div id="content-column"> |