Reaction and share buttons #88
Closed
sandsoncosta
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
-
|
HB has a hooks system, you can add any content to pages, and you can find all blog hooks on here. To use a hook, you'll need to:
You can use Hugo template syntax to achieve this. // hook template
{{ if default true .Page.Params.social_shares }}
Social share buttons here.
{{ end }} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
I have included reaction and sharing buttons on my blog.


I did this manually and it was extremely simple.
The only part that was manual for each published post was the share buttons part, which I included in each post.
It would be nice if there was a simpler way to set a true or false flag and include the ID like it is done with Google Adsense and Analytics.
I am using the sharethis.com platform.
Beta Was this translation helpful? Give feedback.
All reactions