mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Check for nil Chroma .Aliases
This commit is contained in:
1 file changed
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
<dl>
|
<dl>
|
||||||
{{ range .Site.Data.docs.chroma.lexers }}
|
{{ range .Site.Data.docs.chroma.lexers }}
|
||||||
<dt>{{ .Name }}</dt>
|
<dt>{{ .Name }}</dt>
|
||||||
<dd>{{ delimit .Aliases ", " }}</dd>
|
<dd>{{ with .Aliases }}{{ delimit . ", " }}{{ end }}</dd>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</dl>
|
</dl>
|
||||||
Reference in new issue
Block a user