Skip to content
New: Customize your theme with an AI assistant. Read the guide

Files: src/config/social.json · Skill level: Beginner

The social links displayed across all pages are managed through the social.json file. By modifying this file, your changes will automatically reflect on all pages. It looks like this:

{
"main": [
{
"enable": true,
"label": "Facebook",
"lucideIcon": "facebook",
"url": "https://www.facebook.com",
"isForShare": true,
"isForShareProject": true
},
{
"enable": true,
"label": "Linkedin",
"lucideIcon": "linkedin",
"url": "https://www.linkedin.com",
"isForShare": false,
"isForShareProject": true
}
]
}
  • enable → Shows or hides the link.
  • label → The name of the platform. Footer.astro shows it as text, and the icons in FooterTwo.astro and the top bars come from it, so use the platform’s name, such as Facebook, Twitter, Linkedin, Instagram, Dribbble, Mail, or Link.
  • lucideIcon → An icon name kept in the file. The icons come from label, so changing this doesn’t change them. The Sanity edition’s form doesn’t have this field.
  • url → The address of your profile. In FooterTwo.astro and the top bars, a link with no address doesn’t show.
  • isForShare → Offers this platform in the share links on blog posts.
  • isForShareProject → Offers this platform in the share links on case studies.

The sample addresses are the platforms’ home pages, so replace them with your own profiles. TopbarTwo.astro shows only Facebook, Twitter, and Linkedin.

Type something to search...