2021-11-22 17:29:05 +01:00
|
|
|
{{ define "pagename" }}
|
|
|
|
<h2><i class="fa fa-graduation-cap" aria-hidden="true"></i>{{ .Title }}</h2>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
|
|
|
{{ .Content }}
|
|
|
|
{{ range sort .Pages "Title" }}
|
|
|
|
<h3 class="teaching-institute">
|
|
|
|
{{- with .Params.link -}}<a href="{{ . }}">{{- end -}}
|
|
|
|
{{ .Title }}
|
|
|
|
{{- with .Params.link -}}</a>{{- end -}}
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
<ul class="teaching-courses">
|
|
|
|
{{ range sort .Pages "Title" }}
|
|
|
|
<li class="course-name">
|
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
{{- partial "teaching/coursename.html" . -}}
|
|
|
|
</a>
|
2023-06-26 15:58:56 +02:00
|
|
|
{{- with .Params.role -}}<div class="course-role">{{ . }}</div>{{- end -}}
|
2021-11-22 17:29:05 +01:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|