add toggle for showing the site src link

This commit is contained in:
Lee 2023-07-02 14:42:34 +01:00
parent 061d295236
commit 3dd92b7885

@ -40,14 +40,16 @@ export default function Home() {
})} })}
</div> </div>
{Config.options.showSourceLink && (
<h1 className="mt-5 text-blue-300"> <h1 className="mt-5 text-blue-300">
<a <a
href="https://git.fascinated.cc/Fascinated/personal-website" href="https://git.fascinated.cc/Fascinated/simple-links"
target="_blank" target="_blank"
> >
View the website source here View the website source here
</a> </a>
</h1> </h1>
)}
</div> </div>
</div> </div>
</main> </main>