diff options
author | Indrajith K L | 2022-11-22 23:54:12 +0530 |
---|---|---|
committer | Indrajith K L | 2022-11-22 23:56:10 +0530 |
commit | ee38292e12f2d002f94036e3d54d2efcf40c715c (patch) | |
tree | e7000b79438630dce14988afe1444c20151ec7db /src/contact.njk | |
parent | 3ee4b8e6fd37c7b73992deeb01b9f43e745269f5 (diff) | |
download | indrajith-dev-ee38292e12f2d002f94036e3d54d2efcf40c715c.tar.gz indrajith-dev-ee38292e12f2d002f94036e3d54d2efcf40c715c.tar.bz2 indrajith-dev-ee38292e12f2d002f94036e3d54d2efcf40c715c.zip |
Adds neocities link
Remove Carbon Badge on neocities
Diffstat (limited to 'src/contact.njk')
-rw-r--r-- | src/contact.njk | 17 |
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 |