fix(posts): fix broken rendering styles
This commit is contained in:
@@ -27,5 +27,6 @@
|
||||
{{- range .Site.Menus.main }}
|
||||
<li><a href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
||||
{{- end }}
|
||||
<li><a href="/tags/">Tags</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -10,3 +10,4 @@
|
||||
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<a href="/tags/">Tags</a>
|
||||
|
||||
@@ -31,20 +31,20 @@
|
||||
<hr class="post-end">
|
||||
<footer class="post-info">
|
||||
{{- 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 }}
|
||||
{{- with .Params.tags }}
|
||||
<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 . -}}
|
||||
<span class="tag"><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">{{.}}</a></span>
|
||||
{{- end }}
|
||||
</p>
|
||||
{{- 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" width="24" height="24" data="{{"calendar.svg" | relURL}}">{{ dateFormat .Site.Params.dateform .Date.Local }}</object></p>
|
||||
<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>
|
||||
{{- 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 }}
|
||||
</footer>
|
||||
</article>
|
||||
@@ -58,7 +58,7 @@
|
||||
{{- with .NextInSection }}
|
||||
<a class="next-post" href="{{ .Permalink }}">
|
||||
<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>
|
||||
<br>
|
||||
<span>{{ .Title }}</span>
|
||||
|
||||
Reference in New Issue
Block a user