Skip to content

error in comments.html line 3 when replacing .test-slug with [page.slug] #61

Open
@basemwahba

Description

@basemwahba

Thanks for this simplest minimal Jekyll site

In _includes/comments.html, I have replaced .test-slug with [page.slug]. Final code will be: {% assign comments = site.data.comments[page.slug] | sort %}

In _config.yml, I have removed test-slug from staticman path. Final code will be: path: "_data/comments"

In index.html, I have replaced test-slug with {{ page.slug }}. Final code will be: <input name="options[slug]" type="hidden" value="{{ page.slug }}">

This is my repository https://github.com/basemwahba/again

May you please advise? Thanks so much

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