Skip to content

ianpatrickhines/NationBuilder-Twitter-Cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

#NationBuilder Twitter Cards (Version 1.0) Created by Ian Patrick Hines

January 3, 2014

Original: ianpatrickhines.com

License: The MIT License (MIT) (See LICENSE.markdown)

NationBuilder Twitter Cards is a liquid partial template for NationBuilder website themes that enables them to dynamically support Twitter Cards.

Example Twitter Card

To add this functionality to your custom theme:

  1. Download the _twitter_card.html file in this repository and add it to your NationBuilder theme.

  2. Add {% include "twitter_card" %} in the <head> section of your _layout.html template.

  3. Save & Publish the changes to your theme.

  4. Visit Twitter's Card Documentation and apply for approval to display Twitter cards for your site.

  5. Tweet links from your site and see awesome, beautifully formatted Twitter cards.

Note: Twitter cards will only display for pages for which you have explicitly set an "Excerpt" in your page's SEO settings. To learn more about how to configure your page's SEO settings in NationBuilder, read this FAQ.

About

A liquid partial tempalte to facilitate Twitter Cards support on NationBuilder sites.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages