comparison _layouts/post.html @ 195:afac0bdee0ee

* _layouts/post.html: Remove unused page.author field.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 08 Jul 2020 15:27:23 +0900
parents 7abe02bf29ec
children
comparison
equal deleted inserted replaced
194:9ac0211ca132 195:afac0bdee0ee
3 --- 3 ---
4 <article class="post" itemscope itemtype="http://schema.org/BlogPosting"> 4 <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5 5
6 <header class="post-header"> 6 <header class="post-header">
7 <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1> 7 <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
8 <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p> 8 <p class="post-meta">
9 <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>
10 </p>
9 </header> 11 </header>
10 12
11 <div class="post-content" itemprop="articleBody"> 13 <div class="post-content" itemprop="articleBody">
12 {{ content }} 14 {{ content }}
13 </div> 15 </div>