Use slug in liquid templates
I needed to use the slug on a layout and nothing was being printed until I realized the attribute isn't available in liquid :)
/cc #113
~~Superseded by #129~~
@ashmaroli hi, can i ask why this pr went ignored for three years and then a newer one that implements the same feature gets accepted?
Hi @fauno
Technically yes, both PRs have a common ground.
But mainly, this one was about having a slug attribute exposed via Liquid. Like, rendering value via {{ page.slug }}. But the intention was not clear.. there were no tests to demonstrate the expected results either.
Looking at this again, this is not the same feature as what is on current master..
You are welcome to rebase to master, and add some tests.