Skip to content

Commit c3dd649

Browse files
authored
Update single.html
1 parent 8c0831b commit c3dd649

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

_layouts/single.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: default
3-
image: /path/to/first-image.jpg
43
---
54

65
{% include base_path %}
@@ -21,12 +20,6 @@
2120
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
2221
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
2322
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
24-
{% if page.image %}<meta itemprop="image" content="{{ page.image }}">{% endif %}
25-
<!-- social media preview -->
26-
{% if page.image %}
27-
<meta property="og:image" content="{{ page.image }}">
28-
<meta name="twitter:image" content="{{ page.image }}">
29-
{% endif %}
3023
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
3124
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
3225

@@ -35,7 +28,7 @@
3528
<header>
3629
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
3730
{% if page.read_time %}
38-
<p class="page__meta read-time"><strong><i class="fa fa-clock" aria-hidden="true"></i> Estimated Reading Time:</strong> {% include read-time.html %}</p>
31+
<p class="page__meta"><i class="fa fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
3932
{% endif %}
4033
{% if page.modified %}
4134
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Published:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>

0 commit comments

Comments
 (0)