Feat: LoveIt => FixIt

This commit is contained in:
Cell
2021-12-19 19:23:31 +08:00
parent c8a0208046
commit 9f4e1325ee
2 changed files with 14 additions and 3 deletions
+4
View File
@@ -14,6 +14,10 @@ footer {
.icp-br {
display: none;
}
.fa-ban {
color: Tomato;
}
}
}
+10 -3
View File
@@ -7,12 +7,19 @@
{{- safeHTML . -}}
</div>
{{- end -}}
{{- /* Hugo and LoveIt */ -}}
<!-- <i class="fas fa-bug fa-fw"></i> -->
{{- /* Hugo and FixIt */ -}}
{{- if ne .Site.Params.footer.hugo false -}}
<div class="footer-line">
{{- $hugo := printf `<a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo %v">Hugo</a>` hugo.Version -}}
{{- $theme := .Scratch.Get "version" | printf `<a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt %v"><i class="far fa-kiss-wink-heart fa-fw"></i> LoveIt</a>` -}}
{{- $theme := .Scratch.Get "version" | printf
`<a href="https://github.com/Lruihao/FixIt" target="_blank" rel="noopener noreffer" title="FixIt %v">
<i class="fa-stack fa-xs">
<i class="fas fa-bug fa-stack-1x"></i>
<i class="fas fa-ban fa-stack-2x"></i>
</i>
FixIt
</a>` -}}
{{- dict "Hugo" $hugo "Theme" $theme | T "poweredBySome" | safeHTML }}
</div>
{{- end -}}