madpatter

simple redirect layout - by oddhour

Nov 1st, 2014
12,508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--by oddhour.tumblr.com-->
  5.  
  6. <meta charset="utf-8">
  7. <title>{Title}</title>
  8. {block:Description}
  9. <meta name="description" content="{MetaDescription}">
  10. {/block:Description}
  11.  
  12. <link rel="shortcut icon" href="{Favicon}">
  13. <link rel="apple-touch-icon-precomposed" href="{PortraitURL-128}">
  14. <meta name="color:Text" content="#444"/>
  15. <meta name="color:SecondaryText" content="#fff"/>
  16. <meta name="color:Background" content="#90c217"/>
  17. <meta name="font:Body" content="Helvetica Neue"/>
  18.  
  19.  
  20. <style>
  21. /* Colors */
  22. html, body {
  23. background: {color:Background};
  24. color: {color:Text};
  25. font-family: {font:Body};
  26. text-align: center;
  27. padding: 50px;
  28. }
  29.  
  30. p {
  31. font-weight: bold;
  32. font-size: 1.2em;
  33. }
  34.  
  35. h1 {
  36. color: {color:SecondaryText};
  37. }
  38.  
  39.  
  40. </style>
  41. </head>
  42.  
  43. <body>
  44. <img src="{PortraitURL-128}" />
  45. <p>oddhouredproductivity<br/>has moved to</p>
  46. <h1> { oddhour } </h1>
  47. <p>redirecting...</p>
  48. </body>
  49.  
  50. <script>
  51. //redirect to new blog -- remember to change your urls here!
  52. setTimeout( redirectTumblr, 3000 );
  53.  
  54. function redirectTumblr() {
  55. location.replace('http://oddhour.tumblr.com' + location.pathname);
  56. }
  57. </script>
  58.  
  59. </html>
Advertisement
Add Comment
Please, Sign In to add comment