Skip to content

Empty footer class still takes vertical space #288

@paride

Description

@paride

In my config.toml I have:

footercontent = ""
hideCredits = true
hideCopyright = true

as I don't want a footer, but the generated html pages still contain this section:

      <footer class="footer">
  <section class="container">
    
    
    
    
  </section>
</footer>

which despite being empty takes some vertical space. This causes the page to become vertically scrollable even if there is nothing to scroll to, especially on mobile devices.

I think the footer class should be skipped entirely if there is no footer content.

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