Changeset - 7c379a284ecd
[Not reviewed]
0 1 0
Brett Smith (brett) - 6 years ago 2017-11-07 17:21:35
brett@sfconservancy.org
templates: Add Twitter-specific metadata to the Open Graph partial.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/opengraph_partial.html
Show inline comments
...
 
@@ -19,2 +19,4 @@ normally shouldn't need to:
 
* site_name: Default "Software Freedom Conservancy"
 
* twitter_site: The name of the Twitter account that publishes this page.
 
  Default "@conservancy"
 

	
...
 
@@ -22,2 +24,6 @@ normally shouldn't need to:
 

	
 
{# This partial needs work before other cards besides "summary" are supported. #}
 
<meta property="twitter:card" content="summary">
 
<meta property="twitter:site" content="{{ twitter_site|default:"@conservancy" }}">
 

	
 
<meta property="og:type" content="{{ type|default:"website" }}">
0 comments (0 inline, 0 general)