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/_includes/partials | |
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/_includes/partials')
-rw-r--r-- | src/_includes/partials/footer.njk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/_includes/partials/footer.njk b/src/_includes/partials/footer.njk index 6a11145..54fd287 100644 --- a/src/_includes/partials/footer.njk +++ b/src/_includes/partials/footer.njk @@ -5,4 +5,11 @@ </li> </ul> <div id="wcb" class="carbonbadge wcb-d"></div> -</footer>
\ No newline at end of file +</footer> + +<script> + const carbonBadge = document.getElementById("wcb"); + if(location.host.includes("neocities")) { + carbonBadge.remove(); + } +</script>
\ No newline at end of file |