Skip to content

Sperate partials out of config and into files #6

@scruffydan

Description

@scruffydan

Sorry if this is possible already and I just missed it. I am new to docpad (and static site generators generally).

Currently the readme states that partials can be added to the docpad.coffee file. This works well and partials can be called using the typical handlebars syntax of {{>partialname}}

But it would be super useful if I could define a directory and put all my partials (as separate files, like header.hbs, footer.hbs ...etc) there while retaining the ability to call the partial withe the same {{>partialname}} syntax.

Thanks

EDIT: While I am at it why not have the same thing the same work with helpers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions