Browse Source

Add a / to href for HTML compliance

tags/v1.0.0
divinerites 4 years ago
parent
commit
80d93d41ee
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      layouts/_default/single.html

+ 2
- 2
layouts/_default/single.html View File

<div class="col-lg-8 offset-lg-2 text-center"> <div class="col-lg-8 offset-lg-2 text-center">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<ul class="list-inline mb-50"> <ul class="list-inline mb-50">
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author }}</a></li>
<li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}/">{{ .Params.Author }}</a></li>
<li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Date }}</li> <li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Date }}</li>
</ul> </ul>
<img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image"> <img class="img-fluid mb-50" src="{{ .Params.Image | absURL }}" alt="blog-image">
</div> </div>
</section> </section>


{{ end }}
{{ end }}

Loading…
Cancel
Save