fix(fork_awesome): fix incompatibility of Fork Awesome and Font Awesome
This commit is contained in:
@@ -64,12 +64,9 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Fork Awesome https://forkaweso.me/ */ -}}
|
||||
{{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.forkawesome_css -}}
|
||||
{{- .Site.Params.cdn.forkawesome_css | safeHTML -}}
|
||||
{{- else -}}
|
||||
{{- $res := resources.Get "css/lib/forkawesome/fork-awesome.min.css" -}}
|
||||
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
||||
{{- end -}}
|
||||
{{- $options := dict "targetPath" "css/lib/forkawesome/forkawesome.min.css" "outputStyle" "compressed" "enableSourceMap" true -}}
|
||||
{{- $res := resources.Get "css/lib/forkawesome/fork-awesome.scss"| toCSS $options -}}
|
||||
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
||||
|
||||
{{- /* Animate.css https://github.com/daneden/animate.css */ -}}
|
||||
{{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.animate_css -}}
|
||||
|
||||
@@ -280,17 +280,17 @@
|
||||
{{- end -}}
|
||||
{{- with .Site.Params.Social.Gitea}}
|
||||
<a href="{{ . | safeURL }}" rel="me noopener noreffer" target="_blank">
|
||||
<i class="fab fa fa-gitea fa-fw" title="Gitea"></i>
|
||||
<i class="fo fo-gitea fo-fw" title="Gitea"></i>
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{- with .Site.Params.Social.XMPP}}
|
||||
<a href="xmpp:{{ . }}" rel="me noopener noreffer">
|
||||
<i class="fab fa fa-xmpp fa-fw" title="XMPP"></i>
|
||||
<i class="fo fo-xmpp fo-fw" title="XMPP"></i>
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{- with .Site.Params.Social.Matrix}}
|
||||
<a href="https://matrix.to/#/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||
<i class="fab fa fa-matrix-org fa-fw" title="Matrix"></i>
|
||||
<i class="fo fo-matrix-org fo-fw" title="Matrix"></i>
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{- with .Site.Params.Social.Email}}
|
||||
|
||||
Reference in New Issue
Block a user