samvincent / jekyll-haml

HAML html converter for Jekyll
MIT License
88 stars 40 forks source link

Layouts not being rendered #14

Closed stevenleeg closed 9 years ago

stevenleeg commented 9 years ago

Hey everyone,

I'm having an issue with my haml layouts not being rendered. My setup is a _layouts/default.haml:

!!!
%html
  %head
    %title title stuff
    [...]

  %body
    = "{{ content }}"

and an index.haml:


---
layout: default

---

%i Hello world!

When I run jekyll serve --watch and head over to localhost:4000 I see that the default.haml is just being outputted haml (it's not being compiled) {{ content }} is outputting the compiled haml as html (as it should).

Any ideas as to what would be causing this? I'm not sure if I overlooked something or not, so hopefully this is a silly mistake on my part...

Thanks in advance, and keep up the great work on this project! – Steve

davidpdrsn commented 9 years ago

I'm having the same issue

lewispb commented 9 years ago

Same here

keikun17 commented 9 years ago

@stevenleeg @davidpdrsn @lewispb : this PR fixes it https://github.com/yaegashi/jekyll-haml/commit/ce43db3506be17165f59df0ae969d1336768e6f8

samvincent commented 9 years ago

Version 0.1.2 published to rubygems.org

dgmstuart commented 8 years ago

@samvincent layouts aren't getting rendered for me - perhaps 0.1.3 broke it?

zeroedin commented 8 years ago

+1 for @dgmstuart , 0.1.3 appears to have broken layouts rendering with haml.

samvincent commented 8 years ago

Let me know if a pull request added to master corrects the issue. I don't have a project using this at the moment.

# Gemfile
gem 'jekyll-haml', :git => 'https://github.com/samvincent/jekyll-haml.git'
sspreitzer commented 8 years ago

Reopened duplicate #17 Fix with PR #18

sspreitzer commented 8 years ago

PR merged, issue fixed.