hugo-coder icon indicating copy to clipboard operation
hugo-coder copied to clipboard

[v2] Remove `hide` configurations

Open luizdepra opened this issue 4 years ago • 5 comments

These hide configurations are a kind of customization that are easily achieved by overriding one or two files. These features turn our templates really messy. Look how monstrous is the partials/footer.html template, and it just renders a simple footer section.

So lets remove these configurations and fix all related files:

  • hideFooter
  • hideCredits
  • hideCopyright
  • hideColorSchemeToggle (we still need to keep hiding the toggle when the color scheme is set to auto)

luizdepra avatar Mar 25 '21 14:03 luizdepra

We removed footerContent for the same motive.

But we still need to remove hideColorSchemeToggle.

luizdepra avatar Nov 10 '21 22:11 luizdepra

Can you please explain how to hide Copyright and Footer now that the option is removed?

0xMH avatar Nov 14 '21 11:11 0xMH

@0xMH, now you need to override the footer template.

luizdepra avatar Nov 14 '21 19:11 luizdepra

These shall also be removed from all READMEs as they're still in the example configuration manual. Is someone already on that or shall I fix it?

peterder72 avatar Nov 14 '21 20:11 peterder72

If there are any mentions of it in the repository, I would appreciate your help. The wiki page, I'm going to fix it now.

luizdepra avatar Nov 15 '21 01:11 luizdepra