Skip to content

Commit

Permalink
feat(opengraph): add opengraph support for posts
Browse files Browse the repository at this point in the history
  • Loading branch information
cubesky committed Jan 17, 2017
1 parent ff6355c commit 4b155af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layout/_partial/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<meta property="og:type" content="blog">
<meta property="og:title" content="<% if (title) { %><%= title %> | <% } %><%= config.title %>">
<meta property="og:description" content="<%= config.description %>">
<% if(page.tags) { page.tags.each(function(tag){ %><meta property="og:article:tag" content="<%= tag.name %>"> <% })} %>

<!--[if lte IE 9]>
<link rel="stylesheet" href="/css/ie-blocker.css">
Expand Down

1 comment on commit 4b155af

@cubesky
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add Opengraph support for tags in every post.

Close #70

Please sign in to comment.