{{define "section-summary"}} {{if .Summary}}
{{emphasize .Summary .Layout}}
| {{.Institution}} {{- if .Degree.Name}}, {{.Degree.Name}}{{end -}} {{- if .GPA}}{{$gpa := formatGPA .GPA}}{{if $gpa}} (GPA: {{$gpa}}){{end}}{{end -}} | {{fmtDateRange .Dates}} |
|
|
| {{- if .Thesis.Title -}} Thesis: {{.Thesis.Title}} {{- if .Thesis.Link.URI}} | {{if .Thesis.Link.Label}}{{.Thesis.Link.Label}}{{else}}{{.Thesis.Link.URI}}{{end}}{{end -}} {{- end -}} {{- range .Thesis.Highlights}}. {{.}}{{end -}} | |
{{- $sep := false -}} {{- if .Contact.Email -}} {{if $sep}} | {{end}}{{.Contact.Email}} {{- $sep = true -}} {{- end -}} {{- if .Contact.Phone -}} {{if $sep}} | {{end}}{{.Contact.Phone}} {{- $sep = true -}} {{- end -}} {{- if .Contact.Credentials -}} {{if $sep}} | {{end}}{{.Contact.Credentials}} {{- $sep = true -}} {{- end -}} {{- if .Contact.Location -}} {{- $loc := formatLocation .Contact.Location -}} {{- if $loc -}} {{if $sep}} | {{end}}{{$loc}} {{- $sep = true -}} {{- end -}} {{- end -}} {{- range .Contact.Links -}} {{- if .URI -}} {{if $sep}} | {{end}}{{if .Label}}{{.Label}}{{else}}{{.URI}}{{end}} {{- $sep = true -}} {{- end -}} {{- end -}}