1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-25 03:34:29 +01:00

layouts/_default/summary.html: Fix W3C validation error

The validator[0] says:

  Element nobr not allowed as child of element a in this context.

... so I'll just remove it.

[0] https://validator.w3.org
This commit is contained in:
Alan Orth 2016-09-14 12:39:40 +03:00
parent 5ab29ec867
commit 8c4b423173
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -4,5 +4,5 @@
<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>
<a href='{{ .Permalink }}'>Read more →</a>
</article> <!-- /.blog-post -->