Skip to content

section-index.html: code cleanup #1946

@chalin

Description

@chalin

Originally posted by @chalin in #1890 (comment)

After looking at this more closely, it seems to make sense indeed.

Btw, the $parent variable is misnamed, because$parent is set to .Page.

Can we inline the variable instead?

Btw, IMHO .Page cannot be falsy, but .Page.File could be falsy. So the if condition can be simplified.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions