Closed lmartins closed 11 years ago
strange, after some investigating it seems to have disappeared lol. I must have deleted it by accident when I was cleaning up the repo. No worries, I'll recreate it and push it up here in a bit.
Thank you @jonschlinkert
actually, I was wrong. the helper is there and I just ran the tests again and it's working fine. What version of assemble are you running? and did you try deleting assemble from node_modules and reinstalling?
I'm not on my machine at the moment but I'll confirm that tomorrow. The path is relative to the hbs source file correct?
Sent from my iPhone
On 08/08/2013, at 23:13, Jon Schlinkert notifications@github.com wrote:
actually, I was wrong. the helper is there and I just ran the tests again and it's working fine. What version of assemble are you running? and did you try deleting assemble from node_modules and reinstalling?
— Reply to this email directly or view it on GitHub.
The path is relative to the hbs source file correct?
Nope, everything is always relative to the Gruntfile.
Well, that was the "issue". Thanks Jon. Quick question though, still it outputs some strange info, please have a look at the generated content: https://www.dropbox.com/s/ugv50uvcv37my8r/Screenshot%202013-08-09%2009.12.53.png
All my embbed document contains is:
<h1>Output content</h1>
Not sure where are the extra text coming from.
In the documentation says something similar about markdown embedded content, but that's not case here as Im trying to include plain html.
but that's not case here as Im trying to include plain html.
the documentation is referring to the file extension of the generated file. This sounds like a bug. Are you just building HTML or something else?
moved to the helpers repo since this issue is technically resolved (and I meant to have you creat this over there but I gave you the wrong link... )
Im trying to pull html to my page, using something like: {{embed './forms/verticalforms.html'}}
However after trying many paths, no matter which starting point I used on the include I cant get the output to include the html of the embedded file. I think this means it isn't getting into the file but im not understanding why.
Can you help?