-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Issues on Medium links in Search #2469
Comments
I'm unfamiliar with Jekyll, but from what I've tested out, it seems that the duplicate issue originates in al-folio/_includes/scripts/search.liquid Lines 75 to 86 in afc56cc
al-folio/_includes/scripts/search.liquid Lines 87 to 106 in afc56cc
The cause seems to be due posts are also considered as collections. I'm not sure how to see exactly what al-folio/_plugins/external-posts.rb Lines 44 to 57 in afc56cc
Additionally, the function Hope this helps. Let me know if there's anything I can assist to fix (not sure about how best to approach). Thanks! |
Fixes #2469. Separated `news` and `posts` from other collections in search, since it caused duplicated entries. Also to ensure they are in chronological reverse order. Signed-off-by: George Araujo <george.gcac@gmail.com>
Thanks! |
Fixes alshedivat#2469. Separated `news` and `posts` from other collections in search, since it caused duplicated entries. Also to ensure they are in chronological reverse order. Signed-off-by: George Araujo <george.gcac@gmail.com>
Fixes alshedivat#2469. Separated `news` and `posts` from other collections in search, since it caused duplicated entries. Also to ensure they are in chronological reverse order. Signed-off-by: George Araujo <george.gcac@gmail.com>
Fixes alshedivat#2469. Separated `news` and `posts` from other collections in search, since it caused duplicated entries. Also to ensure they are in chronological reverse order. Signed-off-by: George Araujo <george.gcac@gmail.com>
Fixes alshedivat#2469. Separated `news` and `posts` from other collections in search, since it caused duplicated entries. Also to ensure they are in chronological reverse order. Signed-off-by: George Araujo <george.gcac@gmail.com>
Fixes alshedivat#2469. Separated `news` and `posts` from other collections in search, since it caused duplicated entries. Also to ensure they are in chronological reverse order. Signed-off-by: George Araujo <george.gcac@gmail.com>
Fixes alshedivat#2469. Separated `news` and `posts` from other collections in search, since it caused duplicated entries. Also to ensure they are in chronological reverse order. Signed-off-by: George Araujo <george.gcac@gmail.com>
Have you checked that your issue isn't already filed?
Bug description
Medium links in Search redirects to asset file instead of Medium and may be duplicated
How to reproduce the bug
Steps to reproduce:
Expected output:
medium.com/user/medium-title
Actual output:
example.github.io/medium-year/medium-title
What operating system are you using?
Not applicable (e.g. you're using GitHub Pages or other hosting)
Where are you seeing the problem on?
Deployed site
More info
Related to the question #2464
Example output:
The text was updated successfully, but these errors were encountered: