fix(posts): using feather class
This commit is contained in:
@@ -717,13 +717,6 @@ a.footnote-ref {
|
||||
border-bottom: 1px solid $theme;
|
||||
}
|
||||
|
||||
object {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: .8em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.tag {
|
||||
margin-right: .5em;
|
||||
|
||||
|
||||
@@ -31,20 +31,20 @@
|
||||
<hr class="post-end">
|
||||
<footer class="post-info">
|
||||
{{- with $.Param "author" }}
|
||||
<p><object type="image/svg+xml" data="{{"author.svg" | relURL}}">{{.}}</object></p>
|
||||
<p><object type="image/svg+xml" class="feather" data="{{"author.svg" | relURL}}">{{.}}</object></p>
|
||||
{{- end }}
|
||||
{{- with .Params.tags }}
|
||||
<p>
|
||||
<object type="image/svg+xml" data="{{"tag.svg" | relURL}}"></object>
|
||||
<object type="image/svg+xml" class="feather" data="{{"tag.svg" | relURL}}"></object>
|
||||
{{- range . -}}
|
||||
<span class="tag"><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">{{.}}</a></span>
|
||||
{{- end }}
|
||||
</p>
|
||||
{{- end }}
|
||||
<p><object type="image/svg+xml" data="{{"page.svg" | relURL}}"></object>{{ i18n "wordCount" . }}</p>
|
||||
<p><object type="image/svg+xml" data="{{"calendar.svg" | relURL}}"></object>{{ dateFormat .Site.Params.dateform .Date.Local }}</p>
|
||||
<p><object type="image/svg+xml" class="feather" data="{{"page.svg" | relURL}}"></object>{{ i18n "wordCount" . }}</p>
|
||||
<p><object type="image/svg+xml" class="feather" data="{{"calendar.svg" | relURL}}"></object>{{ dateFormat .Site.Params.dateform .Date.Local }}</p>
|
||||
{{- if and .GitInfo .Site.Params.gitUrl }}
|
||||
<p><object type="image/svg+xml" data="{{"gitinfo.svg" | relURL}}"></object><a href="{{ .Site.Params.gitUrl -}}{{ .GitInfo.Hash }}" target="_blank" rel="noopener">{{ .GitInfo.AbbreviatedHash }}</a> @ {{ dateFormat .Site.Params.dateform .GitInfo.AuthorDate.Local }}</p>
|
||||
<p><object type="image/svg+xml" class="feather" data="{{"gitinfo.svg" | relURL}}"></object><a href="{{ .Site.Params.gitUrl -}}{{ .GitInfo.Hash }}" target="_blank" rel="noopener">{{ .GitInfo.AbbreviatedHash }}</a> @ {{ dateFormat .Site.Params.dateform .GitInfo.AuthorDate.Local }}</p>
|
||||
{{- end }}
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user