Going live

Social Media Sharing Buttons

Enable and customize social sharing buttons for X (Twitter), Facebook, LinkedIn, WhatsApp, and more. Increase audience engagement on your site.

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

Configuration

Enable Page Sharer

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
---

Customizing Networks

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.

    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

Simply rearrange the list items in the YAML file to change the display order of the buttons.

Add a new entry to the list:

  1. Duplicate an existing block.
  2. Set a unique id.
  3. Choose an icon.
  4. Set the url pattern, using {url} and {title} as placeholders.
- id: custom-network
  icon: comments
  url: "https://example.com/share?url={url}&text={title}"
  title: "Share on MyNetwork"
  enable: true

Was this page helpful?

From the makers of

© 2026 Lore Labs.

On this page