Skip to content

Sections not showing on the home page if you only have one (same for tags) #16

@Cyxo

Description

@Cyxo

If you only have one section (same for tags), the Sections part on the home page doesn't show up, due to this line in the template :

{{ if gt (len $randSections) 1 }}

I was kind of disappointed not seeing the Sections part although I only had one section (other than Posts). I think this should at least be a setting in the config.toml file to allow showing a single section on the home page.

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