From 10d90a166f32673ee44dcbdbf9d0593ef08d2901 Mon Sep 17 00:00:00 2001 From: gauravkukade <gkukade54@gmail.com> Date: Tue, 29 Jun 2021 09:41:13 +0530 Subject: [PATCH] Comment auther-meta date and post date in html files --- _includes/featuredbox.html | 2 +- _includes/postbox.html | 4 ++-- _layouts/post.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_includes/featuredbox.html b/_includes/featuredbox.html index 0586630..77d2591 100644 --- a/_includes/featuredbox.html +++ b/_includes/featuredbox.html @@ -44,7 +44,7 @@ <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:25 }}</h4> <span class="author-meta"> <span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/> {% endif %} - <span class="post-date">{{ post.date | date_to_string }}</span> + <!--<span class="post-date">{{ post.date | date_to_string }}</span>--> </span> <span class="post-read-more"><a href="{{ site.baseurl }}/{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span> <div class="clearfix"></div> diff --git a/_includes/postbox.html b/_includes/postbox.html index 80160e2..0601707 100644 --- a/_includes/postbox.html +++ b/_includes/postbox.html @@ -40,7 +40,7 @@ <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4> <span class="author-meta"> <span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span><br/> {% endif %} - <span class="post-date">{{ post.date | date_to_string }}</span> + <!--<span class="post-date">{{ post.date | date_to_string }}</span>--> </span> <span class="post-read-more"><a href="{{ site.baseurl }}{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span> <div class="clearfix"></div> @@ -48,4 +48,4 @@ <h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4> </div> </div> </div> -<!-- end post --> \ No newline at end of file +<!-- end post --> diff --git a/_layouts/post.html b/_layouts/post.html index 4c5e026..a5e0787 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -106,7 +106,7 @@ <h5 class="font-weight-bold">Join Newsletter</h5> <!-- Post Date --> <p> <small> - <span class="post-date"><time class="post-date" datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date_to_string }}</time></span> + <!--<span class="post-date"><time class="post-date" datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date_to_string }}</time></span>--> {% if page.last_modified_at %} (Updated: <time datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">{{ page.last_modified_at | date: "%b %-d, %Y" }}</time>) {% endif %} @@ -197,4 +197,4 @@ <h5 class="font-weight-bold">Join Newsletter</h5> } } </script> -{% endif %} \ No newline at end of file +{% endif %}