Skip to content

Commit

Permalink
Added Word count
Browse files Browse the repository at this point in the history
  • Loading branch information
Fastbyte01 committed Feb 3, 2019
1 parent 0fcdd40 commit 44e8e76
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ <h1 class="post-title">{{ .Title }}</h1>
</p>
{{ end }}

{{ with .Permalink }}
<p class="copyright-item">
<span>Link:</span>
<span><a href={{ . }}>{{ . }}</span>
<span>{{ i18n "Words" }}:</span>
<span>{{ .WordCount }}</span>
</p>
{{ end }}

{{ with .Site.Params.license }}
<p class="copyright-item lincese">
{{ . | safeHTML}}
Expand Down

0 comments on commit 44e8e76

Please sign in to comment.