mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 00:16:45 +00:00
Check for nil Chroma .Aliases
This commit is contained in:
1 file changed
+5
-5
@@ -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