Skip to content

Social Media Sharing Buttons

Grow your audience by encouraging visitors to share your content. The Page Sharer supports email, X (Twitter), Facebook, LinkedIn, WhatsApp, Weibo, and many more.

To enable the sharing buttons on a specific page, add share: true to the page’s front matter:

content/docs/my-page.md
---
title: My Page
share: true
---

Social networks are configured in data/page_sharer.yaml.

  1. Locate or Create the Config File Check if you have data/page_sharer.yaml. If not, download the default file and place it in your data/ folder.

    • Directorydata/
      • page_sharer.yaml
  2. Edit the Configuration Open data/page_sharer.yaml to enable, disable, reorder, or add networks.

Toggle buttons by setting enable to true or false.

- id: twitter
enable: true
- id: facebook
enable: false