Is it possible to retrieve the current path of a page in a middleman file? For instance, if I have a layout file layout.erb
with something like the following:
<%= page.path %>
<%= yield %>
and a test file index.html
:
Testing
then when Middleman rendered the page I would get something like:
/index.html
Testing