Hello
I want to do a pretty simple thing - for my “yet another middleman boilerplate” project, i would love to be able to render a README.md
(the one used by github to show readme on a project page) as a partial in my index page, just to fill it with some usefull informations for any potential users of my boilerplate. My intentions are not so important though.
I was trying to put render :markdown, '../README.md'
in my index.html
(my index.html.erb
file is inside /src
dir) but middleman throws
Error: Could not locate partial: ../README.md
I’ve been trying to use any possible README.md path but any of them was throwing this exception so i am wondering - is that even possible?
Thanks in advance!