Skip to content

Commit

Permalink
perf: better seo for page paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreytse committed Aug 3, 2023
1 parent 81f2623 commit 1ce9fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/views/post-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1 class="post-title p-name" itemprop="name headline">{{ heading | default: page.title | escape }}</h1>
<h2 class="post-subtitle">{{ subheading | default: page.subtitle | escape }}</h2>

<p class="post-meta">
<div class="post-meta">
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{%- assign date_format = site.yat.date_format | default: "%b %-d, %Y" -%}
<i class="fa fa-calendar"></i> {{ page.date | date: date_format }}
Expand All @@ -13,7 +13,7 @@ <h2 class="post-subtitle">{{ subheading | default: page.subtitle | escape }}</h2
{%- include functions.html func='get_reading_time' -%}
{% assign reading_time = return %}
<span class="post-reading-time left-vsplit"><i class="fa fa-clock-o"></i> {{ reading_time }}</span>
</p>
</div>

{%- if page.tags.size > 0 -%}
<div class="post-tags">
Expand Down

0 comments on commit 1ce9fbe

Please sign in to comment.