From eb5851c15164ab847e19e05d1d2232c123085945 Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Fri, 2 Feb 2018 23:00:24 -0800 Subject: [PATCH] Fix the sample home page --- Ooui/Anchor.cs | 13 +++++++++++++ .../AspNetCoreMvc/Views/Shared/_Layout.cshtml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Ooui/Anchor.cs b/Ooui/Anchor.cs index a475fca..10d4c8f 100644 --- a/Ooui/Anchor.cs +++ b/Ooui/Anchor.cs @@ -18,5 +18,18 @@ namespace Ooui : base ("a") { } + + public Anchor (string href) + : this () + { + HRef = href; + } + + public Anchor (string href, string text) + : this () + { + HRef = href; + Text = text; + } } } diff --git a/PlatformSamples/AspNetCoreMvc/Views/Shared/_Layout.cshtml b/PlatformSamples/AspNetCoreMvc/Views/Shared/_Layout.cshtml index 17113f6..df16ff9 100644 --- a/PlatformSamples/AspNetCoreMvc/Views/Shared/_Layout.cshtml +++ b/PlatformSamples/AspNetCoreMvc/Views/Shared/_Layout.cshtml @@ -41,7 +41,7 @@