forked from shadowfacts/shadowfacts.net
More schema.org stuff
This commit is contained in:
parent
7b5212027c
commit
ce219d972f
|
@ -5,11 +5,11 @@
|
|||
<time itemprop="datePublished" datetime="<%= metadata.date.toISOString() %>"><%= formatted %></time>
|
||||
</span>
|
||||
<% if (metadata.category) { %>
|
||||
in
|
||||
<span itemprop="articleSection"><a href="/<%= metadata.category %>/"><%= metadata.category %></a></span>
|
||||
in
|
||||
<span itemprop="articleSection"><a href="/<%= metadata.category %>/" rel="category"><%= metadata.category %></a></span>
|
||||
<% } else if (metadata.series) { %>
|
||||
in
|
||||
<span itemprop="articleSection"><a href="/tutorials/<%= metadata.series %>"><%= metadata.seriesName %></a></span>
|
||||
in
|
||||
<span itemprop="articleSection"><a href="/tutorials/<%= metadata.series %>" rel="category"><%= metadata.seriesName %></a></span>
|
||||
<% } %>
|
||||
by
|
||||
<span itemprop="author">Shadowfacts</span>
|
||||
|
|
|
@ -3,9 +3,9 @@ metadata.layout = "default.html.ejs"
|
|||
```
|
||||
|
||||
<div class="main">
|
||||
<article itemscope itemtype="https://schema.org/BlogPosting">
|
||||
<article itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
|
||||
<meta itemprop="mainEntityOfPage" content="https://shadowfacts.net<%= metadata.permalink %>">
|
||||
<h1 class="article-title" itemprop="headline"><%= metadata.title %></h1>
|
||||
<h1 class="article-title" itemprop="name headline"><%= metadata.title %></h1>
|
||||
<%- include("../includes/article-meta.html.ejs", { metadata }) %>
|
||||
<div class="article-content" itemprop="articleBody">
|
||||
<%- content %>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<link rel="stylesheet" href="/css/light.css">
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<body itemscope itemtype="https://schema.org/Blog">
|
||||
<header class="site-header">
|
||||
<div class="container">
|
||||
<h1 class="site-title"><a href="/" class="fancy-link">Shadowfacts</a></h1>
|
||||
|
|
Loading…
Reference in New Issue