diff options
author | uPagge <git@upagge.ru> | 2021-02-26 01:34:02 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-02-26 01:34:02 +0300 |
commit | 08bd371df5224ec717323c32263df8c2db262495 (patch) | |
tree | ecf56ce49da5978f95000cadbe6e7a33f9d56d94 /layouts/_default/summary.html | |
parent | d8dd4eb3543d5073e1736c9f5f531eb0299a9ad5 (diff) |
delete-font-awesome
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 8b92db8..55da6e2 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -42,14 +42,14 @@ {{ $author := index .Site.Data.authors $authorName }} {{- $authorLink := $author.link | default .Site.Home.RelPermalink -}} <span class="post-author"> - {{- $options := dict "Class" "author" "Destination" $authorLink "Title" "Author" "Rel" "author" "Icon" (dict "Class" "fas fa-user-circle fa-fw") "Content" $author.nickname -}} + {{- $options := dict "Class" "author" "Destination" $authorLink "Title" "Author" "Rel" "author" "Icon" (dict "Class" "svg-icon icon-user") "Content" $author.nickname -}} {{- partial "plugin/link.html" $options -}} </span> {{- end -}} {{- with .Site.Params.dateFormat | default "2006-01-02" | .PublishDate.Format -}} {{- $timeAgoDate:= $.Site.Params.TimeAgo.DateFormat | default "2006-01-02" | $.PublishDate.Format -}} - <span class="post-publish"><i class="far fa-clock fa-fw"></i> + <span class="post-publish"><span class="svg-icon icon-clock"></span> {{- printf `<time class="timeago" datetime="%v">%v</time>` $timeAgoDate . | safeHTML -}} </span> {{- end -}} @@ -57,7 +57,7 @@ {{- $categories := slice -}} {{- range .Params.categories -}} {{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}} - {{- $categories = $categories | append (printf `<a href="%v"><i class="far fa-folder fa-fw"></i>%v</a>` $category.RelPermalink $category.Title) -}} + {{- $categories = $categories | append (printf `<a href="%v"><span class="svg-icon icon-folder"></span>%v</a>` $category.RelPermalink $category.Title) -}} {{- end -}} {{- with delimit $categories " " -}} <span class="post-category"> @@ -66,13 +66,13 @@ {{- end -}} {{- with .Params.Views -}} - <i class="far fa-eye fa-fw"></i><span> {{ . }}</span> + <span class="svg-icon icon-eye"></span> {{ . }}</span> {{- end -}} {{- $comment := .Site.Params.Comment -}} {{- $remark42 := $comment.remark42 | default dict -}} {{- if $remark42.enable -}} - <i class="far fa-comment fa-fw"></i> + <span class="svg-icon icon-comments"></span> <span class="remark42__counter" data-url="{{ .Permalink }}"></span> {{- end -}} </div> @@ -82,7 +82,7 @@ {{- if not $params.summaryStyle.hiddenDescription -}} <div class="content summary-content"> {{- with .Summary -}} - {{- dict "Content" . "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}} + {{- dict "Content" . "Ruby" $params.ruby "Fraction" $params.fraction | partial "function/content.html" | safeHTML -}} {{- else -}} {{- .Description | safeHTML -}} {{- end -}} |