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

View File

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