Skip to content

[Feature Request]: Get social and share links from json or yaml file #559

@eerison

Description

@eerison

Is your feature request related to a problem? Please describe.
I have decap cms setup in one project, and should it be good if we coud get socal and share link from a json or yaml file, this way I could edit it via decap cms.

I guess the only tricky part is get the icon. the rest info are just plain text. I do not know if it is possible import icon dynamically.

//social.json
  {
    name: "LinkedIn",
    href: "https://www.linkedin.com/in/username/",
    linkTitle: `LinkedIn`,
    icon: '@/assets/icons/IconLinkedin.svg', // or something like this 😄 
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions