Skip to content
Snippets Groups Projects
term.html 783 B
Newer Older
alexisben's avatar
alexisben committed
{{ define "main" }}
  {{ partial "diplomas/hero-single.html" . }}

alexisben's avatar
alexisben committed
  <div class="document-content">
    {{ partial "blocks/list.html" . }}
    <div class="container">
alexisben's avatar
alexisben committed
      <ol class="programs">
        {{- range .Pages -}}
          <li>
            {{- $title := partial "PrepareHTML" .Title -}}
Olivia206's avatar
Olivia206 committed
            {{/*  TODO: check title class relevance */}}
alexisben's avatar
alexisben committed
            <a href="{{ .Permalink }}" class="title" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">
              {{- $title -}}
            </a>
alexisben's avatar
alexisben committed
            {{ if .Params.summary }}
Olivia206's avatar
Olivia206 committed
              <p class="description">
alexisben's avatar
alexisben committed
                {{- partial "PrepareHTML" .Params.summary -}}
Olivia206's avatar
Olivia206 committed
              </p>
            {{ end }}
alexisben's avatar
alexisben committed
          </li>
        {{- end -}}
      </ol>
alexisben's avatar
alexisben committed
    </div>
alexisben's avatar
alexisben committed
  </div>
{{ end }}