the old URLs for six webinars don't match the new URLs created by Hugo
@laurenwalker đang làm issue này rồi.
Từ ngày 24/7/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
The way that Hugo sanitizes URLs (see https://github.com/gohugoio/hugo/issues/4032) means that we have six webinars with URLs that don't match the URLs for the old website. This means that users who have bookmarked or linked to webinars with the old URL will end up with a 404 when the new website is launched. This may also have repercussions for transferring over the the Disqus Q&As (see issue #82). We might be able to resolve this by setting up re-directs with netlify.
Characters that cause the issue
“, —, ’, -–-
Fixes attempted
The following does not fix the problem:
- entering the slug with encoding, e.g. hugo removes both
%E2%80%99and’from the url - setting the URL in the front matter (see Hugo docs). Oddly, entering a URL with illegal characters means that the page is not rendered at all.
hugo list allindicates that the page exists with a URL matching the one entered, but navigating to that page leads to a 404.
Example
The URL for the Dryad webinar on the old site is https://www.dataone.org/webinars/advancing-research-data-publishing-dryad%E2%80%99s-next-steps. In the slug field for the new version of the Dryad webianar, whether we enter advancing-research-data-publishing-dryad%E2%80%99s-next-steps or advancing-research-data-publishing-dryad’s-next-steps, hugo changes the resulting URL to https://preview.dataone.org/webinars/what-it-means-be-dataone-member-nodemember-nodes-share-their-views/. Navigating to https://preview.dataone.org/webinars/advancing-research-data-publishing-dryad%E2%80%99s-next-steps leads to a 404
The six problematic URLs
Slug as entered in the webinars slug field
[1] "advancing-research-data-publishing-dryad’s-next-steps"
[2] "dpm-“stack”-management-infrastructure-frame-digital-preservation-parallels-technical"
[3] "fair’er-data-through-semantics-nsf’s-dataone-and-arctic-data-center"
[4] "introduction-community-engagement-within-science-–-supporting-human-infrastructure"
[5] "open-science-movement-mozilla’s-efforts-build-community-and-open-leadership-science"
[6] "what-it-means-be-dataone-member-node—member-nodes-share-their-views"
Slug in the old website
[1] "advancing-research-data-publishing-dryad%E2%80%99s-next-steps"
[2] "dpm-%E2%80%9Cstack%E2%80%9D-management-infrastructure-frame-digital-preservation-parallels-technical"
[3] "fair%E2%80%99er-data-through-semantics-nsf%E2%80%99s-dataone-and-arctic-data-center"
[4] "introduction-community-engagement-within-science-%E2%80%93-supporting-human-infrastructure"
[5] "open-science-movement-mozilla%E2%80%99s-efforts-build-community-and-open-leadership-science"
[6] "what-it-means-be-dataone-member-node%E2%80%94member-nodes-share-their-views"
How it's encoded with Hugo
[1] "advancing-research-data-publishing-dryads-next-steps"
[2] "dpm-stack-management-infrastructure-frame-digital-preservation-parallels-technical"
[3] "fairer-data-through-semantics-nsfs-dataone-and-arctic-data-center"
[4] "introduction-community-engagement-within-science-supporting-human-infrastructure"
[5] "open-science-movement-mozillas-efforts-build-community-and-open-leadership-science"
[6] "what-it-means-be-dataone-member-nodemember-nodes-share-their-views"
- Ngôn ngữ chính
- SCSS
- Star
- 2
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DataONEorg/dataone-web
-
add map of member repositories to web pageCó thể làm lại được @robyngit đã nhận 195 ngày trước và không có pull request nào đang mở. Đang mởdocumentation
DataONEorg/dataone-web#190 · 1 bình luận · 2 người được giao ·
-
Improve FAQ block with meaningful IDs & auto-expansion of answersCó thể làm lại được @robyngit đã nhận 525 ngày trước và không có pull request nào đang mở. Đang mởenhancement
DataONEorg/dataone-web#188 · 1 bình luận · 1 reaction · 1 người được giao ·
-
Update FAQ with new Hosted Repo-related content and corrections to current contentCó thể làm lại được @iannesbitt đã nhận 534 ngày trước và không có pull request nào đang mở. Đang mởpage content
DataONEorg/dataone-web#185 · 1 bình luận · 1 người được giao ·
-
Migrate to TinaCMSĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
DataONEorg/dataone-web#183 · 1 bình luận ·
-
Set up a FAQ about DataONE ServicesCó thể làm lại được @angiegarciaa đã nhận 750 ngày trước và không có pull request nào đang mở. Đang mởpage content status: in progress website
DataONEorg/dataone-web#180 · 2 bình luận · 2 người được giao ·