diff --git a/README.md b/README.md index 55edcc96c..255f699ba 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,12 @@ Here are the options that can be stored in this file: "links": { "about": null, "issues": null, - "edit": null + "edit": null, + "sharing": { + "google": null, + "facebook": null, + "twitter": null + } } } ``` diff --git a/theme/templates/includes/book/header.html b/theme/templates/includes/book/header.html index c25440766..1195fb297 100644 --- a/theme/templates/includes/book/header.html +++ b/theme/templates/includes/book/header.html @@ -12,9 +12,15 @@ + {% if options.links.sharing.google !== false %} + {% endif %} + {% if options.links.sharing.facebook !== false %} + {% endif %} + {% if options.links.sharing.twitter !== false %} + {% endif %} {% if githubId %}