Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "redirect" frontmatter property #145

Merged
merged 1 commit into from
Apr 18, 2021
Merged

Conversation

sersorrel
Copy link
Member

This generates a page that uses <meta http-equiv=refresh> to redirect one page to another. The page body is ignored, and the message "You are being redirected to https://example.com..." is shown instead.

It would still be nice to have all redirects in a single file, so let's leave #121 open for now.

Copy link
Contributor

@markspolakovs markspolakovs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; I've seen other sites use JavaScript alongside meta-refresh - worth considering? (I don't know enough about meta-refresh to know when that would be useful though.)

@sersorrel
Copy link
Member Author

am doubtful that js would work when meta refresh doesn't, though i guess it's possible; meta refresh has (afaik) been supported in major browsers since IE6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants