Minimal-mistakes theme, greedy button, Follow button

Hello,
When I reduce the size of the screen and when I press the greedy button, a “Follow” button is displayed.
If I have correctly understood, that allows to display the authors information localized in the sidebar.

In my case I have systematically this button even if the page has no sidebar (no authors info).
If I click the button, nothing happens.

What could be my error(s) ?

  • wrong layout
  • wrong parameters in _config.yml and in the yaml fields ?
  • others reasons

Thank You

Using the theme’s documentation/demo site as an example.

The main navigation in the header is designed to show as many links that will fit in the allocated space. If there are links that don’t fit they are put in the “hamburger” menu which reveals them on click.

The smaller the screen, the more links that won’t be visible and will be placed in the menu toggle.

image

As far as the author sidebar. When you have author sidebar links assigned they are shown on larger screens.

When the screen size is reduced and the layout switches from a 2 column to a single column these links are hidden. This is when the “Follow” button appears. Clicking that will reveal the same exact links you see on larger screens.

image
image

Yes, but with my website:

In my case I have systematically this button even if the page has no sidebar (no authors info).
If I click the button, nothing happens.
The button should be invisible as on your website.

I try to find an explanation

Without seeing your site I have no idea. Could be you configured something wrong or you customized the theme and broke something.

You are probably right ! I broke something.
My website is only in html on github; I don’t know if you could see the fault(s):

The contact page for example

Nope can’t see any faults. My guess is you don’t have a site author setup correctly.
You also need to specifically turn it on for each page or use front matter defaults.

On your contact page there is no author sidebar, which leads me to believe you haven’t configured it.

Consult the author configuration on how to properly setup an author.

You also need to set front matter to enable it on a post/page: https://mmistakes.github.io/minimal-mistakes/docs/layouts/#author-profile

Thank you for your investigation and your time

As usually you are right !

  • author_profile was true in _config.yml for the type pages
  • in contact.md, in yaml, I set author_profile to true
    Solution:
    I removed author_profile: true in yaml in contact.md
    I set author_profile to false for pages in _config.yml
    I set author_profile: true for the pages I want to display the author

Once more, you are the best !