feat(style): adjust style of header, tags and dynamic-to-top button

This commit is contained in:
Dillon
2020-03-14 14:42:12 +08:00
parent d8bfd23ace
commit 3d9aad3205
23 changed files with 146 additions and 130 deletions

View File

@@ -17,15 +17,14 @@
</span>
{{- with .Params.categories -}}
&nbsp;<span class="post-category">
&nbsp;
<span class="post-category">
{{- T "included" -}}
{{- range . -}}
&nbsp;
<span>
<a href="{{ `/categories/` | relLangURL }}{{ urlize .}}">
<i class="far fa-folder fa-fw"></i>{{ . | humanize }}
</a>
</span>
{{- range $index, $value := . -}}
{{- if gt $index 0 }}&nbsp;{{ end -}}
<a href="{{ `/categories/` | relLangURL }}{{ urlize $value }}">
<i class="far fa-folder fa-fw"></i>{{ $value | humanize }}
</a>
{{- end -}}
</span>
{{- end -}}