Skip to content

Instantly share code, notes, and snippets.

@sskylar
Created July 15, 2014 16:09
Show Gist options
  • Save sskylar/3e006ceeb2cf70937b14 to your computer and use it in GitHub Desktop.
Save sskylar/3e006ceeb2cf70937b14 to your computer and use it in GitHub Desktop.
Redirect page/post in Siteleaf, set destination URL in a meta field called "redirect"
<!doctype html>
<html>
<head>
{% if meta.redirect %}
<meta http-equiv="refresh" content="0;url={{meta.redirect}}">
{% endif %}
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment