Skip to content

Commit

Permalink
fix spacing before word count
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerle committed Jan 30, 2025
1 parent 917a032 commit 639820b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/posts_single_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{- with .Params.categories }}
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_categories") -}}{{- range . -}}<span class="category"><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}">{{.}}</a></span>{{- end }}</p>
{{- end }}
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_wordcount") }}{{- .WordCount }} {{- if fileExists "i18n" }} {{ i18n "wordCount" . -}} {{- else -}} Words {{- end }} {{ partial "readTime.html" . -}}</p>
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_wordcount") }}{{- .WordCount }}&nbsp{{- if fileExists "i18n" }} {{ i18n "wordCount" . -}} {{- else -}} Words {{- end }} {{ partial "readTime.html" . -}}</p>
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_date") }}{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}
{{ if .Page.Params.ShowLastmod -}}
{{- if and .GitInfo .Site.Params.gitUrl -}}
Expand Down

0 comments on commit 639820b

Please sign in to comment.