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
When post.id is undefined, the post.url filtered through absolute_url should be used. Branching via if/else functions as intended, however, for unknown reasons the absolute_url Jekyll filter is failing to produce a full URL. Instead only the collection name and post slug survives.
This seems to be some kind of bug that is triggered when permalink is defined/configured.
... this is what feed-atom and feed-rss2 layouts from liquid-utilities achieve, and there doesn't appear to be any major differences in how post.url is filtered by absolute_url
The text was updated successfully, but these errors were encountered:
Describe the bug
When
post.id
is undefined, thepost.url
filtered throughabsolute_url
should be used. Branching viaif
/else
functions as intended, however, for unknown reasons theabsolute_url
Jekyll filter is failing to produce a full URL. Instead only the collection name and post slug survives.This seems to be some kind of bug that is triggered when
permalink
is defined/configured.Example Setup
_config.yml
(snip)_layout/test-absolute-url.html
documentation/_exapmple-collection/test-absolute-url.md
example-collection.html
Example Results
Build then navigate to example-collection URL similar to;
https://<acount>.github.io/<project>/example-collection.html
Output will likely be presented similar to...
Expected Behavior
Output should be presented similar to...
... this is what
feed-atom
andfeed-rss2
layouts fromliquid-utilities
achieve, and there doesn't appear to be any major differences in howpost.url
is filtered byabsolute_url
The text was updated successfully, but these errors were encountered: