-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(website): Use article
in og:type
tag in blog articles.
#1084
Conversation
article
in og:type
tag in blog articles.article
in og:type
tag in blog articles.
%> <% if (typeof meta.blogDate !== 'undefined') { %> | ||
<meta property="og:type" content="article" /> | ||
<meta property="article:section" content="Technology" /> | ||
<meta property="article:published_time" content="<%= meta.blogDate %>" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We know this is a blog article because the file is called blog-head.ejs.html. Shouldn't we only put the if
around article:published_time
?
%> <% if (typeof meta.blogDate !== 'undefined') { %> | |
<meta property="og:type" content="article" /> | |
<meta property="article:section" content="Technology" /> | |
<meta property="article:published_time" content="<%= meta.blogDate %>" /> | |
%> | |
<meta property="og:type" content="article" /> | |
<meta property="article:section" content="Technology" /> | |
<% if (typeof meta.blogDate !== 'undefined') { %> | |
<meta property="article:published_time" content="<%= meta.blogDate %>" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is also included in /blog.
Landed as commit b2bc1a3. |
See #1080 for the intention of this pull request.