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
As far as I can remember, it's not possible to embed Liquid like that. There have been a couple attempts to solve this problem by checking to see if the inputted string is in site.registers[:site] or something, but nothing has been brought into the project yet.
So at the moment, there's no way to accomplish that without a plugin.
If you aren't using the default permalinks, you may need to adjust this. I use it with the 'pretty' permalinks and prepend it with the appropriate post category. I'm using it to add links based on ids of other posts in my YAML front matter; therefore, I made it work on strings w/ and w/o a '.md' at the end so I don't have to worry about which format I put.
Hi all,
I am trying to generate a Link from an external file.
{% post_url 2010-07-21-name-of-post %}
works fine, but I am desperately trying to generate an internal link using this code:myLink
itself renders correctly. It is defined within the YAML meta data.Is there a way to accomplish that?
Thank you!
The text was updated successfully, but these errors were encountered: