💄 Style: add spaces after some icons

This commit is contained in:
ctj12461
2022-04-18 23:40:27 +08:00
parent ea2b8e03d5
commit 89f0f2c204
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
{{- $categories := slice -}}
{{- range .Params.categories -}}
{{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}}
{{- $categories = $categories | append (printf `<a href="%v"><i class="far fa-folder fa-fw"></i>%v</a>` $category.RelPermalink $category.Title) -}}
{{- $categories = $categories | append (printf `<a href="%v"><i class="far fa-folder fa-fw"></i>&nbsp;%v</a>` $category.RelPermalink $category.Title) -}}
{{- end -}}
{{- with delimit $categories "&nbsp;" -}}
&nbsp;<span class="post-category">
+1 -1
View File
@@ -21,7 +21,7 @@
<div class="footer-line copyright">
{{- /* Copyright year */ -}}
{{- if ne .Site.Params.footer.copyright false -}}
<i class="far fa-copyright fa-fw"></i>
<i class="far fa-copyright fa-fw"></i>&nbsp;
{{- with .Site.Params.footer.since -}}
<span itemprop="copyrightYear">
{{- if lt . now.Year }}{{ . }} - {{ end }}{{ now.Year -}}
+2 -2
View File
@@ -1,5 +1,5 @@
{{- with .Class -}}
<i class="{{ . }}"></i>
<i class="{{ . }}"></i>&nbsp;
{{- else -}}
{{- $src := .Src -}}
{{- with .Simpleicons -}}
@@ -9,5 +9,5 @@
{{- if (urls.Parse $src).Host | not -}}
{{- $src = (resources.Get $src | minify).RelPermalink -}}
{{- end -}}
<i data-svg-src="{{ $src }}"></i>
<i data-svg-src="{{ $src }}"></i>&nbsp;
{{- end -}}
+1 -1
View File
@@ -39,7 +39,7 @@
{{- $categories := slice -}}
{{- range .Params.categories -}}
{{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}}
{{- $categories = $categories | append (printf `<a href="%v"><i class="far fa-folder fa-fw"></i>%v</a>` $category.RelPermalink $category.Title) -}}
{{- $categories = $categories | append (printf `<a href="%v"><i class="far fa-folder fa-fw"></i>&nbsp;%v</a>` $category.RelPermalink $category.Title) -}}
{{- end -}}
{{- with delimit $categories "&nbsp;" -}}
&nbsp;<span class="post-category">