Skip to content
Snippets Groups Projects
Commit 4fea2d1e authored by Olivia206's avatar Olivia206
Browse files

added children to diplomas program list

parent 5366d4a8
No related merge requests found
......@@ -15,11 +15,20 @@
</div>
<ol class="programs">
{{- range .Pages -}}
{{- range .Params.programs -}}
<li>
<a href="{{ .Permalink }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" .Title)) }}">
{{- partial "PrepareHTML" .Title -}}
<a href="{{ .Permalink }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" .label)) }}">
{{- partial "PrepareHTML" .label -}}
</a>
{{- range .children -}}
<ol>
<li>
<a href="{{ .path }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" .label)) }}">
{{- partial "PrepareHTML" .label -}}
</a>
</li>
</ol>
{{ end }}
</li>
{{- end -}}
</ol>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment