I have a problem with using unordered bullet lists with an in-line (fontawesome) icon. Using the icon in an ordered list within the tabs environment breaks the list.
So, this works as expected:
- {{< fa question-circle >}} This is a test.
But this doesn’t:
{{< tabs "Week-One" >}}
{{< tab "9.14" >}}
### Course orientation
- Item one
- Item two
- {{< fa question-circle >}} This is a test.
{{< /tab >}}
Visual example of what happens:
My shortcode:
<!-- Load fontawesome only once per page -->
{{ if not (.Page.Scratch.Get "fontawesomeLoaded") }}
{{ .Page.Scratch.Set "fontawesomeLoaded" true }}
<script defer src="/css/all.js"></script>
{{ end }}
<i class="fas {{ range $element := .Params }} fa-{{ $element }} {{ end }}"></i>