Kimberley Mackenzie e35e01f06f
Prettier Spike (#1517)
* Add Prettier set-up (no formatting in this commit).

* Manual fixes for Prettier issues.

* Run Prettier fix on non-markdown files.

* Incorporate Prettier PR feedback - update commands, re-apply new yaml styles, add editor config.

* Remove deprecated config item.

* Add dependency on prettier-plugin-go-template.

* reconcile changed file with prettier formatting.

* Add git blame ignore revs file to include Prettier formatting commit.

* Fix format issue with merge conflict.
2022-06-01 10:58:20 -07:00

18 lines
572 B
HTML

<ul class="glossary">
{{ range sort $.Site.Data.glossary.entries "term" }}
<li><a href="#{{ anchorize .term }}">{{ .term }}</a></li>
{{ end }}
</ul>
{{ range sort $.Site.Data.glossary.entries "term" }}
<h2 id="{{ anchorize .term }}">{{ .term }}</h2>
<p>{{ .description }}</p>
<p>
{{ $link := .link }}
{{ if hasPrefix $link "/" }}
{{ $link = relref $.Page $link }}
{{ end }}
<a data-track="{{ .term | urlize }}" href="{{ $link }}"><i class="fab fa-readme mr-2"></i>{{ .term }}</a>
</p>
{{ end }}