aboutsummaryrefslogtreecommitdiff
path: root/src/contact.njk
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.njk')
-rw-r--r--src/contact.njk17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/contact.njk b/src/contact.njk
index 666f55f..f1ac0e1 100644
--- a/src/contact.njk
+++ b/src/contact.njk
@@ -7,4 +7,19 @@ title: Contact
<li>
Email: indrajith @ indrajith.dev
</li>
-</ul> \ No newline at end of file
+ <li id="origin-website">
+ (🌐) <a href="https://indrajith.dev">https://indrajith.dev</a>
+ </li>
+</ul>
+<style>
+ #origin-website {
+ display:none;
+ }
+</style>
+
+<script>
+const websiteLink = document.getElementById("origin-website");
+if (location.host.includes("neocities")) {
+ websiteLink.style.display = "block";
+}
+</script> \ No newline at end of file