templates: Add Twitter-specific metadata to the Open Graph partial.
This commit is contained in:
		
							parent
							
								
									a94b34689f
								
							
						
					
					
						commit
						7c379a284e
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -17,9 +17,15 @@ normally shouldn't need to: | ||||||
| * type: Default "website". | * type: Default "website". | ||||||
| * locale: Default "en_US". | * locale: Default "en_US". | ||||||
| * site_name: Default "Software Freedom Conservancy" | * site_name: Default "Software Freedom Conservancy" | ||||||
|  | * twitter_site: The name of the Twitter account that publishes this page. | ||||||
|  |   Default "@conservancy" | ||||||
| 
 | 
 | ||||||
| {% endcomment %} | {% endcomment %} | ||||||
| 
 | 
 | ||||||
|  | {# 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" }}"> | <meta property="og:type" content="{{ type|default:"website" }}"> | ||||||
| <meta property="og:locale" content="{{ locale|default:"en_US" }}"> | <meta property="og:locale" content="{{ locale|default:"en_US" }}"> | ||||||
| <meta property="og:site_name" content="{{ site_name|default:"Software Freedom Conservancy" }}"> | <meta property="og:site_name" content="{{ site_name|default:"Software Freedom Conservancy" }}"> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith