You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub Pages hosted (if yes provide URL to site): www.ivanxiao.com
Operating system: Mac OS Catalina
Expected behavior
In local deve (jekyll serve), clicking the search icon and type something, returned result should have proper URL as "http://localhost:4000/path". But now it is using site.url.
@mmistakes What's the reason to use absolute_url instead of relative_url in lunr-store.js though? Switching to relative_url seems fixing it for me (and compatible for older Jekyll).
As in other places such as archive-single.html I am seeing the<a/> is being added with{{ post.url | relative_url }} instead of absolute_url.
Originally posted here. After a bit of search, I think this is probably because Jekyll stopped overriding site.url
Environment
Expected behavior
In local deve (jekyll serve), clicking the search icon and type something, returned result should have proper URL as "http://localhost:4000/path". But now it is using site.url.
Steps to reproduce the behavior
bundle exec jekyll serve
, open localhost:4000, click search and type something. Observe link is incorrect:Other
The text was updated successfully, but these errors were encountered: