Skip to content

I'm not sure it's an issue but more of a question... #6

@franceindia

Description

@franceindia

Hi I'm new to Jekyll and liquid tags (but not HAML). With this plugin, I can pull in a basic haml partial using

{% haml footer.hml %}

My problem:
The default Jekyll index page fails to compile when I try to convert index.html to index.haml. How should it be written? This is what I have...

%div#home
    %h1 Blog Posts
    .posts
        {% for post in site.posts %}
            %li
                %span {{ post.date | date_to_string }}
                »
                %a{:href => "{{ post.url }}"}
                    {{ post.title }}
        {% endfor %}

What am I missing? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions