From 3725e7ace40a098203530cbb12116da901374b1d Mon Sep 17 00:00:00 2001
From: limjh16 {{ post.excerpt | markdownify | strip_html | truncate: 160 }} " | remove: " {{ post.excerpt | markdownify | strip_html | truncate: 160 }} {{ page.excerpt | markdownify | remove: " " | remove: "
{% endif %}
{% if post.read_time %}
-
+
{% endif %}
{% if post.excerpt %}
{% else %}|{% endif %}
+
+
diff --git a/_layouts/single.html b/_layouts/single.html
index d799abed0d05..be7050c08880 100644
--- a/_layouts/single.html
+++ b/_layouts/single.html
@@ -28,7 +28,7 @@
{{ page.title | markdownify | remove: "
{{ title }}
{% endif %}
- {% if post.read_time %}
-
+ {% if include.type == "grid" %}
+ {% include read-time.html p="post" type="grid" %}
+ {% else %}
+ {% include read-time.html p="post" %}
{% endif %}
{% if post.excerpt %}
{% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
" | remove: "
" }}{% endif %} - {% if page.read_time %} - - {% endif %} + {% include read-time.html p="page" %}{{ post.excerpt | markdownify | strip_html | truncate: 160 }}
{% endif %} diff --git a/_includes/page__hero.html b/_includes/page__hero.html index 639e5d01804d..ef95e5335867 100644 --- a/_includes/page__hero.html +++ b/_includes/page__hero.html @@ -31,7 +31,7 @@{{ page.excerpt | markdownify | remove: "
" | remove: "
" }} {% endif %} - {% include read-time.html p="page" %} + {% include post__meta.html p="page" %} {% if page.header.cta_url %} {% endif %} diff --git a/_includes/read-time.html b/_includes/post__meta.html similarity index 100% rename from _includes/read-time.html rename to _includes/post__meta.html diff --git a/_layouts/single.html b/_layouts/single.html index 6d5b54b7c0d9..980cc0f93ff7 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -27,7 +27,7 @@ {% unless page.header.overlay_color or page.header.overlay_image %}" | remove: "
" }}{% endif %} - {% include read-time.html p="page" %} + {% include post__meta.html p="page" %}" | remove: "
" }}{% endif %} - {% include post__meta.html p="page" %} + {% include post__meta.html %}{{ post.excerpt | markdownify | strip_html | truncate: 160 }}
{% endif %} From e665da62e0ee1ecb53015583e4d63abb4e6141be Mon Sep 17 00:00:00 2001 From: limjh16_kG?|JViB5mn<#ZP
zo78NIQEdbn{UKMfw5uAPU{s12q$*XgFWsXV2%f&H5K6t_XdADT$X*H+B|B&A=rHXW
zVA&IPRDYt6db#b+TS8x`!;Xga@CPk0vbPqT!6cjxcM1GhQHtC%M#8-02iYmcn0%5H
zgJ^Y7Ay4h)F3Oo%n4&HIHHVw`ga|1q!ZpF54_jvJxM7o4O=68m8S-Qv4!0Sa%T$A)
z&D(ftUu6Pr>7n~-hmrPi{cBk_NeXtSX_~~gZ@U@z&k9y|fBkXMxlCc*uB^8euT|q%
zw&m`&?>OOuV__tv7szr3$~?`WyD9AF%g%FgOzr%#PUxDat+<54SX3bP2bSXoymuCzJLzPoT@kTK!vP<0
z#oy4d<7CXq2B|}w`Gy>ZWS-@NZk1t&jX?%GXFC{A=NlLFU0n?OD(AXSEMfv;Oy4N7
zgK8C%E@>qVU$16su$S|9utx74eZ}Ddag^$o!GEcs4(X!ddqX{Rk>kOPHFB#PaQYXo
zFUB_@Au8DJGo>913TdwpJ;V3G+T+;Zpy86p8JjNo5VGKU(6-b%a1KRP#o+8c>}Da2RjsT)Xt9NT
z>tr!M7r