use LoveIt theme, self hosted
This commit is contained in:
parent
bcafaafff8
commit
e9ec93a471
1973 changed files with 54578 additions and 15688 deletions
14
themes/LoveIt/layouts/partials/function/fontawesome.html
Normal file
14
themes/LoveIt/layouts/partials/function/fontawesome.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{- /* Font Awesome */ -}}
|
||||
{{- /* :(far fa-circle): -> <i class="far fa-circle fa-fw"></i> */ -}}
|
||||
|
||||
{{- $REin := ` (:\([\w- ]+?\):)` -}}
|
||||
{{- $REout := ` $1` -}}
|
||||
{{- $content := replaceRE $REin $REout . -}}
|
||||
|
||||
{{- $REin = `(:\([\w- ]+?\):) ` -}}
|
||||
{{- $REout = `$1 ` -}}
|
||||
{{- $content = replaceRE $REin $REout . -}}
|
||||
|
||||
{{- $REin = `:\(([\w- ]+?)\):` -}}
|
||||
{{- $REout = `<i class="$1"></i>` -}}
|
||||
{{- return replaceRE $REin $REout $content -}}
|
Loading…
Add table
Add a link
Reference in a new issue