-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Build A Link #43
Milestone
Comments
Across lessons, we can run the checker package and identify broken links periodically. |
zkamvar
added a commit
to carpentries/pegboard
that referenced
this issue
Jul 28, 2021
I have updated the assumption for links to be a model where people will create links _relative to the source files of the repository_. This will do a couple of things: 1. Allow links to be follow-able if they are pure markdown files in the repository so that people can follow links in the github previews 2. People don't have to guess what the link outcome will be and we can tool around them. Note that this means we will have to update our lua filters in sandpaper to treat the links, but I was planning on doing that anyways in carpentries/sandpaper#43
zkamvar
added a commit
that referenced
this issue
Jul 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference: https://zkamvar.github.io/stunning-barnacle#links
Contributors should be able to link to different parts of The Carpentries' ecosystem easily. We also want to make sure that we enforce canonical URLs to avoid situations where we have some sites that go to
site.url/page/
,site.url/page
, andsite.url/page.html
The use cases for linking are:
Note that canonical URLs can also be enforced via JavaScript: https://www.jpap.org/blog/2017/04/canonical-url-redirects-for-static-sites/ (but won't work if JavaScript is not enabled)
The text was updated successfully, but these errors were encountered: