mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-25 07:48:54 +00:00
🚧 WIP: add params.taskList to support custom task lists
This commit is contained in:
@@ -11,13 +11,15 @@
|
||||
"!" "fa-solid fa-circle-exclamation"
|
||||
"\\?" "fa-regular fa-circle-question"
|
||||
-}}
|
||||
{{- /* Custom Task lists */ -}}
|
||||
{{- $iconMap = site.Params.taskList | merge $iconMap -}}
|
||||
|
||||
{{- /* Get the extended signs */ -}}
|
||||
{{- $extendedSigns := slice -}}
|
||||
{{- range $sign, $icon := $iconMap -}}
|
||||
{{- $extendedSigns = $extendedSigns | append $sign -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* TODO merge from config */ -}}
|
||||
|
||||
{{- /*
|
||||
The basic syntax is compatible with GitHub, Obsidian, and Typora.
|
||||
The basic format is as follows:
|
||||
|
||||
Reference in New Issue
Block a user