TableauSocialExtension

Hex.pm][shield-hex]][hexpm] [![Hex Docs][shield-docs] [ Apache 2.0Coveralls

A Tableau extension that replaces HTML tags containing specific attributes with rendered social profile links based on site extension configuration and content frontmatter.

Overview

The Social Extension processes <dl social-block> and <a social-{platform}> tags in your HTML content and replaces them with properly formatted social media links.

Configuration

Basic configuration uses simple string values for usernames:

config :tableau, TableauSocialExtension,
  accounts: [
    github: "username",
    mastodon: "user@mastodon.social",
    stack_overflow: "12345/username"
  ]

For advanced configuration, see the Platform Reference.

Installation

TableauSocialExtension can be installed by adding tableau_social_extension to your list of dependencies in mix.exs:

def deps do
  [
    {:tableau_social_extension, "~> 1.0"}
  ]
end

Documentation is found on HexDocs.

Semantic Versioning

TableauSocialExtension follows Semantic Versioning 2.0.