Update to Font Awesome v5.5.0
This commit is contained in:
parent
caf62024be
commit
8a0d489252
7 changed files with 43 additions and 52 deletions
|
|
@ -1,26 +1,21 @@
|
|||
<span class="post-meta">
|
||||
{{ $lastmodstr := default (i18n "dateFormat") .Site.Params.dateformat | .Lastmod.Format }}
|
||||
{{ $datestr := default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format }}
|
||||
<i class="fa fa-calendar-o"></i> {{ $datestr | i18n "postedOnDate"}}
|
||||
<i class="fas fa-calendar"></i> {{ $datestr | i18n "postedOnDate"}}
|
||||
{{ if ne $datestr $lastmodstr }}
|
||||
{{ $lastmodstr | i18n "lastModified" }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.readingTime }}
|
||||
|
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{{ i18n "readingTime"}} {{ .ReadingTime }} {{ i18n "readTime" }}
|
||||
| <i class="fas fa-clock"></i> {{ i18n "readingTime"}}{{ .ReadingTime }} {{ i18n "readTime" }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.wordCount }}
|
||||
|
|
||||
<i class="fa fa-book"></i> {{ .WordCount }} {{ i18n "words" }}
|
||||
| <i class="fas fa-book"></i> {{ .WordCount }} {{ i18n "words" }}
|
||||
{{ end }}
|
||||
{{ if .Params.author }}
|
||||
|
|
||||
<i class="fa fa-user"></i>
|
||||
{{ .Params.author | safeHTML }}
|
||||
| <i class="fas fa-user"></i> {{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}
|
||||
{{ end }}
|
||||
{{- if .Site.Params.staticman -}}
|
||||
| <i class="fa fa-comment-o"></i>
|
||||
| <i class="fas fa-comment"></i>
|
||||
{{ $slug := replace .URL "/" "" }}
|
||||
{{ if .Site.Data.comments }}
|
||||
{{ $comments := index $.Site.Data.comments $slug }}
|
||||
|
|
@ -40,7 +35,7 @@
|
|||
{{- $links := apply $sortedTranslations "partial" "translation_link.html" "." -}}
|
||||
{{- $cleanLinks := apply $links "chomp" "." -}}
|
||||
{{- $linksOutput := delimit $cleanLinks (i18n "translationsSeparator") -}}
|
||||
• {{ i18n "translationsLabel" }}{{ $linksOutput }}
|
||||
• {{ i18n "translationsLabel" }}{{ $linksOutput }}
|
||||
{{- end }}
|
||||
</span>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue