mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-25 03:34:29 +01:00
Use HTML5 article tag for blog post summaries
See: https://developer.mozilla.org/en/docs/Web/HTML/Element/article
This commit is contained in:
parent
bfaa9ac247
commit
ea1da4a69e
@ -1,6 +1,6 @@
|
||||
<div class="blog-post">
|
||||
<article class="blog-post">
|
||||
<h2 class="blog-post-title"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h2>
|
||||
<p class="blog-post-meta"><time datetime="{{ .Date }}">{{ .Date.Format .Site.Params.date_format }}</time> by <a href="#">Mark</a></p>
|
||||
{{ .Summary }}
|
||||
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
|
||||
</div> <!-- /.blog-post -->
|
||||
</article> <!-- /.blog-post -->
|
||||
|
Loading…
Reference in New Issue
Block a user