feat(style): adjust style of header, tags and dynamic-to-top button
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
{{- /* Dynamic to top button */ -}}
|
||||
<a href="#" class="dynamic-to-top animated faster" id="dynamic-to-top">
|
||||
<span> </span>
|
||||
<i class="fas fa-chevron-up fa-fw"></i>
|
||||
</a>
|
||||
|
||||
{{- /* Load JavaScript scripts and CSS */ -}}
|
||||
|
||||
@@ -29,15 +29,14 @@
|
||||
</span>
|
||||
|
||||
{{- with .Params.categories -}}
|
||||
<span class="post-category">
|
||||
|
||||
<span class="post-category">
|
||||
{{- T "included" -}}
|
||||
{{- range . -}}
|
||||
|
||||
<span>
|
||||
<a href="{{ `/categories/` | relLangURL }}{{ urlize .}}">
|
||||
<i class="far fa-folder fa-fw"></i>{{ . | humanize }}
|
||||
</a>
|
||||
</span>
|
||||
{{- range $index, $value := . -}}
|
||||
{{- if gt $index 0 }} {{ end -}}
|
||||
<a href="{{ `/categories/` | relLangURL }}{{ urlize $value }}">
|
||||
<i class="far fa-folder fa-fw"></i>{{ $value | humanize }}
|
||||
</a>
|
||||
{{- end -}}
|
||||
</span>
|
||||
{{- end -}}
|
||||
@@ -57,12 +56,10 @@
|
||||
<a href="{{ .RelPermalink }}">{{ T "readMore" }}</a>
|
||||
{{- with .Params.tags -}}
|
||||
<div class="post-tags">
|
||||
{{- range . -}}
|
||||
<span>
|
||||
<a href="{{ `/tags/` | relLangURL }}{{ urlize .}}">
|
||||
<i class="fas fa-tag fa-fw"></i>{{ . }}
|
||||
</a>
|
||||
</span>
|
||||
<i class="fas fa-tags fa-fw"></i>
|
||||
{{- range $index, $value := . -}}
|
||||
{{- if gt $index 0 }}, {{ end -}}
|
||||
<a href="{{ `/tags/` | relLangURL }}{{ urlize $value }}">{{ $value }}</a>
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user