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

section-education.html « partials « layouts - gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 12b144053a97c9a09be42ce47e2b316431491315 (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
37
38
39
40
41
{{ $isOnSide := false }}
{{ range .Params.side }}
{{ if eq .feature "education" }}
	{{ $isOnSide = true }}
{{ end }}
{{ end }}

{{ range .Data.education }}
<div class="item">

	{{- if and $.Params.education.location.show .location -}}
	{{ if $isOnSide }}
	<h2 class="item-title">{{ .university }}</h2>
	<span>{{ .location }}</span><br>
	{{- else -}}
	<div class="flex-row">
		<h2 class="item-title">{{ .university }}</h2>
		<span class="soft-color">{{ .location }}</span>
	</div>	
	{{- end -}}
	{{- else -}}
	<h2 class="item-title">{{ .university }}</h2>

	{{- end -}}
	
	<span>{{ .name }}</span><br>
	
	{{- if .more -}}
		{{- if .link -}}
		<span><a href="{{ .link }}">{{ .more }}</a></span><br>
		{{- else -}}
		<span>{{ .more }}</span><br>
		{{- end -}}
	{{- end -}}
	<span>{{ .date }}{{ if .gpa }} | GPA: {{ .gpa }}{{ end }}</span>

	{{ if .details }}
		{{- partial "markdown" .details }}
	{{ end }}
</div>
{{ end }}