testing og:image for carding
This commit is contained in:
		
							parent
							
								
									ae938394ae
								
							
						
					
					
						commit
						a2d6f74631
					
				@ -27,6 +27,7 @@ enableGitInfo = true
 | 
				
			|||||||
    # disqus = "gmgauthier-1" # enabling this will add disqus to the bottom of all my posts automatically.
 | 
					    # disqus = "gmgauthier-1" # enabling this will add disqus to the bottom of all my posts automatically.
 | 
				
			||||||
    podcastCdnUrl = "https://gmgauthier.us-east-1.linodeobjects.com/podcast/"
 | 
					    podcastCdnUrl = "https://gmgauthier.us-east-1.linodeobjects.com/podcast/"
 | 
				
			||||||
    blogCdnUrl = "https://gmgauthier.us-east-1.linodeobjects.com/blog/"
 | 
					    blogCdnUrl = "https://gmgauthier.us-east-1.linodeobjects.com/blog/"
 | 
				
			||||||
 | 
					    avatar = "/img/blog_avatar.jpg"
 | 
				
			||||||
[markup]
 | 
					[markup]
 | 
				
			||||||
  [markup.goldmark.renderer]
 | 
					  [markup.goldmark.renderer]
 | 
				
			||||||
  unsafe= true
 | 
					  unsafe= true
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,7 @@
 | 
				
			|||||||
<head>
 | 
					<head>
 | 
				
			||||||
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
 | 
					  <meta http-equiv="content-type" content="text/html; charset=utf-8">
 | 
				
			||||||
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
					  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
				
			||||||
 | 
					  <meta property="og:image" content="{{.Site.Params.blogCdnURL}}{{.Params.image}}">
 | 
				
			||||||
  <meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
 | 
					  <meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
 | 
				
			||||||
  {{hugo.Generator}}
 | 
					  {{hugo.Generator}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user