KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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
Tags (comma-separated)
Save Edits
Cancel