Skip to content

Instantly share code, notes, and snippets.

@alexisgo
Forked from samanthamjohn/gist:4400186
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexisgo/9822047 to your computer and use it in GitHub Desktop.
Save alexisgo/9822047 to your computer and use it in GitHub Desktop.
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@BoringFinance">
<meta content="{Title}" name="twitter:title" />
<!-- replace page title with a post title if available -->
{block:PostTitle}
<meta content="{PostTitle}" name="twitter:title">
{/block:PostTitle}
{block:Description}
<meta name="twitter:description" content="{MetaDescription}">
{/block:Description}
<meta name="twitter:creator" content="@BoringFinance">
<meta name="twitter:domain" content="BecauseFinanceIsBoring.com">
@alexisgo
Copy link
Author

Code to enable a Twitter Card ("View Summary" preview on tweets) from a tumblr running on a custom domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment