Skip to content

Allow users to override the default template's layout file #480

@hegemonic

Description

@hegemonic

In #472, @sporritt suggested that we allow users to override the layout.tmpl file in the default template. That makes it easy to control which CSS/JS files are pulled into each page, even if you don't want to fork the template.

Users should be able to specify another layout.tmpl file in the JSDoc config file. The key should be named something like templates.default.layout or templates.default.layoutFile. It should accept a relative path, to be resolved against...which directories exactly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions