Skip to content

Support more than one custom partial for footer #958

Description

@mxmehl

Feature Description

Right now, the footer template allows to load a custom partial (layouts/_partials/custom/footer.html). This is fine for most cases, but for one edge case, I'd like to split my custom additions to the footer into two partials.

Problem/Solution

Not change the default, but allow to define a list of custom partials to be loaded in the footer section. This could be done with a site.Param.

This may lead to errors if these partials aren't present, but as it's user-configured, this wouldn't be upstream's fault.

Alternatives Considered

Deal with it 😎

Additional Context

I'd be happy to create a PR for it if @imfing would not object the general goal. Thanks for considering!

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