Skip to content
Permalink
Browse files

fix(w3c validation): remove redundant sections without heading

Update #251
  • Loading branch information...
talha131 committed Aug 10, 2019
1 parent b700224 commit df9221f2aae46b2495f9a0db6f941bad9aa6ddec
Showing with 0 additions and 6 deletions.
  1. +0 −2 templates/_includes/article_author.html
  2. +0 −2 templates/_includes/share_links.html
  3. +0 −2 templates/index.html
@@ -3,7 +3,6 @@
{% for author in article.authors %}
{% if author|string in AUTHORS %}
{% if tag.open %}
<section>
<hr />
{% set tag.open = false %}
{% set tag.close = true %}
@@ -21,6 +20,5 @@
{% endif %}
{% endfor %}
{% if tag.close %}
</section>
{% endif %}
{% endmacro %}
@@ -1,6 +1,5 @@
{% macro share_links(article) %}
{% if article.share_post and article.status != 'draft' %}
<section>
<p id="post-share-links">
{% if article.share_post_intro %}
{{ article.share_post_intro }}
@@ -14,6 +13,5 @@
<a href="{{article.share_post['email']}}" target="_blank" title="Share via Email">Email</a>
</p>
</section>
{% endif %}
{% endmacro %}
@@ -109,13 +109,11 @@ <h1 id="recent-posts">Recent Posts <a id="allposts" href="{{ SITEURL }}/{{ ARCHI
</small>
{% endif %}
</a>
<section>
posted in
<a href="{{ SITEURL }}/{{ CATEGORIES_URL }}#{{ article.category.slug }}-ref">{{ article.category }}</a>
<div class="recent-posts-time">
<time itemprop="dateCreated" datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
</div>
</section>
{% if RECENT_ARTICLE_SUMMARY %}
<p>{{article.summary}}</p>
{% endif %}

0 comments on commit df9221f

Please sign in to comment.
You can’t perform that action at this time.