Created
April 6, 2019 01:53
-
-
Save AprilSylph/c5cb1b69f2680ab6aa6c033055523ede to your computer and use it in GitHub Desktop.
simulate "Redirect"-type page layout on Tumblr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Redirecting...</title> | |
<script> | |
if (location.pathname !== "/customize_preview_receiver.html") { | |
location.replace("{TARGETURL}"); | |
} | |
</script> | |
<meta name="description" content="This is a redirect to {TARGETURL}."/> | |
<style> | |
body { | |
font-family: Helvetica, Arial, sans-serif; | |
text-align: center; | |
margin-top: 25%; | |
} | |
p { | |
margin: 1em; | |
} | |
</style> | |
</head> | |
<body> | |
<p>Find+Replace {TARGETURL} to redirect to the URL of your choice. You are currently redirecting to: <a href="{TARGETURL}">{TARGETURL}</a></p> | |
<p>If you're viewing this from outside the Edit Theme page, turn your scripts back on and reload or just click the link, thanks!</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment