fix(posts): fix broken rendering styles
This commit is contained in:
@@ -721,6 +721,12 @@ a.footnote-ref {
|
|||||||
margin-right: .8em;
|
margin-right: .8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object {
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
margin-right: .5em;
|
margin-right: .5em;
|
||||||
|
|
||||||
@@ -975,9 +981,4 @@ a.footnote-ref {
|
|||||||
100% {
|
100% {
|
||||||
background-position: 80% 50%;
|
background-position: 80% 50%;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.post-info object {
|
|
||||||
width: 24px;
|
|
||||||
height: 24px;
|
|
||||||
}
|
}
|
||||||
@@ -27,5 +27,6 @@
|
|||||||
{{- range .Site.Menus.main }}
|
{{- range .Site.Menus.main }}
|
||||||
<li><a href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
<li><a href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
<li><a href="/tags/">Tags</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,3 +10,4 @@
|
|||||||
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
<a href="/tags/">Tags</a>
|
||||||
|
|||||||
@@ -31,20 +31,20 @@
|
|||||||
<hr class="post-end">
|
<hr class="post-end">
|
||||||
<footer class="post-info">
|
<footer class="post-info">
|
||||||
{{- with $.Param "author" }}
|
{{- with $.Param "author" }}
|
||||||
<p><object type="image/svg+xml" width="24" height="24" data="{{"author.svg" | relURL}}">{{.}}</object></p>
|
<p><object type="image/svg+xml" data="{{"author.svg" | relURL}}">{{.}}</object></p>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Params.tags }}
|
{{- with .Params.tags }}
|
||||||
<p>
|
<p>
|
||||||
<object type="image/svg+xml" width="24" height="24" data="{{"tag.svg" | relURL}}"></object>
|
<object type="image/svg+xml" data="{{"tag.svg" | relURL}}"></object>
|
||||||
{{- range . -}}
|
{{- range . -}}
|
||||||
<span class="tag"><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">{{.}}</a></span>
|
<span class="tag"><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">{{.}}</a></span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</p>
|
</p>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<p><object type="image/svg+xml" width="24" height="24" data="{{"page.svg" | relURL}}">{{ i18n "wordCount " . }}</object></p>
|
<p><object type="image/svg+xml" data="{{"page.svg" | relURL}}"></object>{{ i18n "wordCount" . }}</p>
|
||||||
<p><object type="image/svg+xml" width="24" height="24" data="{{"calendar.svg" | relURL}}">{{ dateFormat .Site.Params.dateform .Date.Local }}</object></p>
|
<p><object type="image/svg+xml" data="{{"calendar.svg" | relURL}}"></object>{{ dateFormat .Site.Params.dateform .Date.Local }}</p>
|
||||||
{{- if and .GitInfo .Site.Params.gitUrl }}
|
{{- if and .GitInfo .Site.Params.gitUrl }}
|
||||||
<p><object type="image/svg+xml" width="24" height="24" 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" 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 }}
|
{{- end }}
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
{{- with .NextInSection }}
|
{{- with .NextInSection }}
|
||||||
<a class="next-post" href="{{ .Permalink }}">
|
<a class="next-post" href="{{ .Permalink }}">
|
||||||
<span class="post-nav-label">
|
<span class="post-nav-label">
|
||||||
<object type="image/svg+xml" width="24" height="24" data="{{"nextarrow.svg" | relURL}}"></object> {{ i18n "newer " }}
|
<object type="image/svg+xml" data="{{"nextarrow.svg" | relURL}}"></object> {{ i18n "newer " }}
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
<span>{{ .Title }}</span>
|
<span>{{ .Title }}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user