Skip to content

Commit

Permalink
feat: Add HTML5 Validator link in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Apr 6, 2022
1 parent ea19de6 commit f043202
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ <h1>{{ .Title }}</h1>
{{ define "footer" }}
<footer>
<a href="{{ site.BaseURL }}">← home</a>

<hr>
{{ (printf `<small><a href="https://html5.validator.nu/?doc=%s&showsource=yes">HTML5 Validator</a></small>` .Permalink) | safeHTML }}
</footer>
{{ end }}

0 comments on commit f043202

Please sign in to comment.