From b1c20cda918255147819a85a184017b621d0bd4a Mon Sep 17 00:00:00 2001
From: davegson <3080765+davegson@users.noreply.github.com>
Date: Fri, 26 Jun 2020 09:33:46 +0200
Subject: [PATCH] Link home via site variable instead of manual href

---
 newsletter/success.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/newsletter/success.html b/newsletter/success.html
index 77da429..8cbbfc0 100644
--- a/newsletter/success.html
+++ b/newsletter/success.html
@@ -12,11 +12,11 @@ layout: page
             An email with a confirmation link is on its way.
         </p>
         <div class="pt-10">
-            <a href="../index.html">
+            <a href="{{ site.base_url }}">
                 <button type="button" style="background-color: #6188ff;" class="mb-5 md:mb-0 transform hover:scale-95 inline-flex items-center px-5 px-10 py-3 border border-transparent text-xs leading-5 font-extrabold rounded-full text-white hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 active:bg-indigo-700 transition duration-150 ease-in-out uppercase">
                   take me back home
                 </button>
             </a>
         </div>
     </div>
-</section>
\ No newline at end of file
+</section>