Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
404 B
HTML
Raw Permalink Normal View History

{{ $sectionPages := where .context.Site.Pages ".Section" "learn" }}
{{ $modules := where $sectionPages ".Layout" "module" }}
{{ $optionalModule := .module }}
<ul class="p-0">
{{ range sort $modules ".Params.index" }}
<li class="list-none px-4 p-2 {{ if eq $optionalModule . }}font-bold{{ end }}">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>