Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make disable_share settings on both page and site level #438

Closed
PengjuXu opened this issue Oct 17, 2021 · 0 comments · Fixed by #465
Closed

Make disable_share settings on both page and site level #438

PengjuXu opened this issue Oct 17, 2021 · 0 comments · Fixed by #465
Assignees

Comments

@PengjuXu
Copy link

in my site's config.toml
I have

[params]
  background_color_class = "bg-gray"
  disable_share = true
  recent_posts_number = 3

but social icons still show

{{ if not .Params.disable_share }}

add ".Site"? to be

{{ if not .Site.Params.disable_share }}
@regisphilibert regisphilibert changed the title SNS icons Make disable_share settings on both page and site level Dec 23, 2021
Remicck pushed a commit to Remicck/gohugo-theme-ananke that referenced this issue Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants