7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-25 15:43:17 +00:00
web-ansol.org/themes/academic/layouts/section/docs.html

19 lines
442 B
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{- define "main" -}}
{{ partial "page_header.html" . }}
<div class="universal-wrapper">
{{ with .Content }}
<div class="article-style">{{ . }}</div>
{{ end }}
<ul class="list-unstyled">
{{ if gt (len .Sections) 0}}
{{ range .Sections }}
<li><h5><a href="{{.RelPermalink}}">{{.LinkTitle}}</a></h5> {{with .Params.summary}}<p>{{. | plainify | emojify}}</p>{{end}}</li>
{{end}}
{{end}}
</ul>
</div>
{{- end -}}