As I work on Tumblr, my goal is to create a landing page that features an "Enter" button directing users to the home page. After some research, I came across a code snippet that redirects the site to a /welcome page when placed in the index page.
<script type="text/javascript">
if(location.href == 'http://ihadcats.tumblr.com/') location.replace('http://ihadcats.tumblr.com/welcome');;
</script>
However, upon navigating to the 'welcome' page and clicking
<a href="http://ihadcats.tumblr.com"
, the user gets stuck in a loop back to the welcome page.
In an attempt to solve this issue, I created a custom '/home' page to serve as an alternative to the index page. By moving the standard index code to this separate '/home' page, I encountered a problem where the code did not render correctly, displaying placeholders like "{Title}" instead of the actual title.
Upon further investigation, it became apparent that while Tumblr embeds many scripts when loading the Index page, none of these scripts are loaded with the '/home' page, despite both pages containing identical code. Any suggestions for troubleshooting this discrepancy?