nycki.net/content/_includes/redirect.njk
nycki 35d5a5f570
All checks were successful
/ build (push) Successful in 45s
add redirects
2025-03-21 13:41:03 -07:00

15 lines
314 B
Text

---
layout: base.njk
# date: ''
# permalink: ''
# href: ''
---
page moved to <a href="{{ href }}">here</a>.
<script>
const queries = (window.location.search || '').slice(1).split('&');
if (queries.includes('redirect=no')) {
// do nothing
} else {
window.location.replace("{{ href }}");
}
</script>