Welcome to mirror list, hosted at ThFree Co, Russian Federation.

section.html « partials « layouts - github.com/tylerjlawson/simple-resume.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6dcf406de4e0c68eee2699014f04f0065c9c07dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<section>
  <h2>{{ .heading }}</h2>
  {{ with .body }}<p>{{ . }}</p>{{ end }}
  {{ with .points }}
    <ul>
      {{ range . }}
        <li>{{ . | markdownify }}</li>
      {{ end }}
    </ul>
  {{ end }}
  {{ range .subsections }}
    <div>
      {{ with .heading }}
        <div class="heading-line">
          <h3>{{ .label }}</h3>
          <h3>
            {{ .startdate }} -
            {{ if .enddate }}{{ .enddate }}{{ else }}Current{{ end }}
          </h3>
        </div>
      {{ end }}
      {{ range .degrees }}
        <p>
          <em>{{ . }}</em>
        </p>
      {{ end }}
      {{ with .points }}
        <ul>
          {{ range . }}
            <li>{{ . | markdownify }}</li>
          {{ end }}
        </ul>
      {{ end }}
    </div>
  {{ end }}
</section>