Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haml to static html. #23

Open
adambuczek opened this issue Dec 18, 2013 · 2 comments
Open

Haml to static html. #23

adambuczek opened this issue Dec 18, 2013 · 2 comments

Comments

@adambuczek
Copy link

There is not a single tool to produce static html templates. I find them useful when I start a new project and divide my content into (kind of) reusable, self-supporting little css-html-js modules.
It's not really an issue but it would be great to have something that allows me to build more complicated modules and sites from those single modules I already have keeping the process DRY.
So here it is: add some easy way of nesting partials in .haml files. Like

.wrapper
=partial('path/to/partial.haml')
Lorem ipsum dolor sit amet

@joneshf
Copy link
Contributor

joneshf commented Dec 18, 2013

That sounds great. Feel free to submit a PR! 😄

@robwierzbowski
Copy link

This should be a Haml issue, not a grunt-haml issue. Grunt tasks usually wrap their ruby/node counterparts.

And, there is a way to do that already :). Google for "haml = render_static"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants