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 resolvable identifiers for BEPs #96

Closed
poldrack opened this issue Feb 23, 2020 · 1 comment · Fixed by #104
Closed

add resolvable identifiers for BEPs #96

poldrack opened this issue Feb 23, 2020 · 1 comment · Fixed by #104
Assignees

Comments

@poldrack
Copy link

poldrack commented Feb 23, 2020

it would be useful if there was a way to resolve individual BEPs to their appropriate page (be it on google docs or wherever). e.g.:

https://bids.neuroimaging.io/BEP003 which would resolve to <google doc>

I'm not sure if github pages has a way to do this but it would be nice to have a more permanent identifier for each BEP.

@sappelhoff
Copy link
Member

sappelhoff commented Feb 24, 2020

indeed, that would be very useful. This jekyll plugin might be able to do the job: https://github.com/jekyll/jekyll-redirect-from#redirect-to

see this stackoverflow answer: https://stackoverflow.com/a/39735194/5201771

That plugin does allow for redirecting to external URLs. To redirect your example URL, create a file called tmwtga.html and add the following front matter:

---
permalink: /tmwtga
redirect_to:
  - http://www.example.com
---

EDIT: I just checked, and this plugin is also (luckily) supported for the gh-pages build that we use: https://pages.github.com/versions/

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 a pull request may close this issue.

2 participants