* 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.
17 lines
597 B
HTML
17 lines
597 B
HTML
<ul class="p-0 list-none text-gray-700 text-sm">
|
|
<li>
|
|
<i class="fas fa-book text-center w-6 text-gray-500"></i>
|
|
{{ $topicCount := len (.module.CurrentSection.Pages) }}
|
|
{{ $topicCount }}
|
|
topic{{ if ne $topicCount 1 }}s{{ end }}
|
|
</li>
|
|
<li>
|
|
{{ $timeToComplete := 0 }}
|
|
{{ range .module.CurrentSection.Pages }}
|
|
{{ $timeToComplete = (add $timeToComplete .Params.estimated_time) }}
|
|
{{ end }}
|
|
<i class="fas fa-stopwatch text-center w-6 text-gray-500"></i>
|
|
About {{ $timeToComplete }} minutes
|
|
</li>
|
|
</ul>
|