mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +01:00
Alan Orth
54ba5518d2
The HTML5 <article> tag represents a complete, or self-contained, composition in a document. Headers are a semantic HTML5 element that helps computers understand the content.
9 lines
446 B
HTML
9 lines
446 B
HTML
<article class="blog-post">
|
|
<header>
|
|
<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="#">{{ .Params.author | default .Site.Params.author }}</a></p>
|
|
</header>
|
|
{{ .Summary }}
|
|
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
|
|
</article> <!-- /.blog-post -->
|