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

Use symlinks for (some) redirects #222

Open
wincent opened this issue Mar 24, 2024 · 0 comments
Open

Use symlinks for (some) redirects #222

wincent opened this issue Mar 24, 2024 · 0 comments

Comments

@wincent
Copy link
Owner

wincent commented Mar 24, 2024

At the moment we support various kinds of redirects via frontmatter metadata.

"wikilink" style redirects that link to a named article:

redirect: [[Abstract Syntax Tree]]

Redirects to absolute URLs:

redirect: https://github.com/wincent/ferret

Redirects to relative URLs:

redirect: /forums/

It would be nice if we could also have redirects via symlink for linking to named articles; eg.

cd content/wiki
ln -s "Abstract Syntax Tree.md" AST.md 

Obviously would need to sanity-check these (ie. link target would have to be in the content/ subtree).

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

No branches or pull requests

1 participant