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
Incorporate relative_url
within post_url
tag
#7589
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Ashwin 🥇
@DirtyF I've documented this change within the gemspec's |
As this is a breaking change for nearly everything, would it be appropriate to put this info in a |
@chrisfinazzo Sounds fair. I'll add a warning block to the upgrading docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 on the feature,
No need for a red warning in the docs, it's a major bump, so you should expect breaking changes.
@DirtyF, I guess... 👌🏼 My only point there was because this change affects a fundamental behavior that has worked in a certain way for so so so long, it feels half-assed to not highlight this since almost everyone will encounter it at some point. |
@chrisfinazzo we have a post-install message for everyone to see. People might get confused though because the link path will change and this can remained unnoticed because we won't output a warning in the console, and not everyone has automatic link validation with tools link |
@jekyllbot: merge +major |
I appreciate that there's a warning for this feature now. Not everybody is going to read the post install message. With a change like this, it's important to highlight it in as many ways as possible and I'm glad that's what we're doing here. Thanks everybody! ❤️ |
…of imcompatibility between jekyll3.x and 4.x. > * Our `link` tag now comes with the `relative_url` filter incorporated into it. > You should no longer prepend `{{ site.baseurl }}` to `{% link foo.md %}` > For further details: jekyll/jekyll#6727 > > * Our `post_url` tag now comes with the `relative_url` filter incorporated into it. > You shouldn't prepend `{{ site.baseurl }}` to `{% post_url 2019-03-27-hello %}` > For further details: jekyll/jekyll#7589
spec.post_intall_message
)Summary
With this,
{% post_url 2019-03-27-hello %}
will return/blog/2019/03/27/hello.html
for a site configured withbaseurl: blog
BREAKING-CHANGE
Context
Resolves #7353