-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
absolute_url not working with empty url #5625
Comments
I found the cause. jekyll/lib/jekyll/filters/url_filters.rb Line 12 in 7118999
Why is this the default behavior? |
absolute_url is designed to prepend |
I think In the current version, this processor will only append something in front of input. This is not absolute at all. |
what is the expected complete url string in your case? |
if your site is configured as
then for given path
and for the index-page its:
|
or you could define index-page url as simply
|
I have tried to reproduce the issue. Calling
Does that work for your use case? |
That is useful! |
{{ page.permalink | absolute_url }}
will not work ifpage.permalink
is `` (i.e. index page).The text was updated successfully, but these errors were encountered: