mirror of
https://github.com/idanoo/m2.nz.git
synced 2024-11-26 10:15:13 +00:00
15 lines
478 B
HTML
15 lines
478 B
HTML
{{- /* Font Awesome */ -}}
|
|
{{- /* :(far fa-circle): -> <i class="far fa-circle fa-fw" aria-hidden="true"></i> */ -}}
|
|
|
|
{{- $REin := ` (:\([\w- ]+?\):)` -}}
|
|
{{- $REout := ` $1` -}}
|
|
{{- $content := replaceRE $REin $REout . -}}
|
|
|
|
{{- $REin = `(:\([\w- ]+?\):) ` -}}
|
|
{{- $REout = `$1 ` -}}
|
|
{{- $content = replaceRE $REin $REout . -}}
|
|
|
|
{{- $REin = `:\(([\w- ]+?)\):` -}}
|
|
{{- $REout = `<i class="$1" aria-hidden="true"></i>` -}}
|
|
{{- return replaceRE $REin $REout $content -}}
|