From d90fb5764d0707ac991180c851ada5b26f5472d3 Mon Sep 17 00:00:00 2001 From: Andrew Camilleri Date: Mon, 19 Nov 2018 05:20:48 +0100 Subject: [PATCH] Add noindex,nofollow to invoices, checkouts and fix create invoice ui bug (#407) * add noindex,nofollow on invoices * fix create invoice button and add noindex,nofollow to checkout and invoice pages --- BTCPayServer/Views/Invoice/Checkout.cshtml | 1 + BTCPayServer/Views/Invoice/CreateInvoice.cshtml | 10 +++++++++- BTCPayServer/Views/Invoice/Invoice.cshtml | 3 +++ BTCPayServer/Views/Shared/_Layout.cshtml | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/Views/Invoice/Checkout.cshtml b/BTCPayServer/Views/Invoice/Checkout.cshtml index e09092418..dd88532bf 100644 --- a/BTCPayServer/Views/Invoice/Checkout.cshtml +++ b/BTCPayServer/Views/Invoice/Checkout.cshtml @@ -13,6 +13,7 @@ + @Model.HtmlTitle diff --git a/BTCPayServer/Views/Invoice/CreateInvoice.cshtml b/BTCPayServer/Views/Invoice/CreateInvoice.cshtml index ee477cddd..5a8f5d158 100644 --- a/BTCPayServer/Views/Invoice/CreateInvoice.cshtml +++ b/BTCPayServer/Views/Invoice/CreateInvoice.cshtml @@ -2,6 +2,14 @@ @{ ViewData["Title"] = "Create an invoice"; } +
@@ -12,7 +20,7 @@
-
+
* diff --git a/BTCPayServer/Views/Invoice/Invoice.cshtml b/BTCPayServer/Views/Invoice/Invoice.cshtml index 43d31aad9..63062685e 100644 --- a/BTCPayServer/Views/Invoice/Invoice.cshtml +++ b/BTCPayServer/Views/Invoice/Invoice.cshtml @@ -2,6 +2,9 @@ @{ ViewData["Title"] = "Invoice " + Model.Id; } +@section HeaderContent{ + +}