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: dc4977b9bcf80563ab4e597dcf30ebb9c4cb5957 (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
42
43
44
45
46
47
48
49
{{ $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>
	
	{{ $useFontAwesome := $.Params.education.useFontAwesome | default $.Params.useFontAwesome }}
	{{ $noExternalIcon := not ($.Params.education.externalLinkIcon | default $.Params.externalLinkIcon) }}

	<span>{{ .date }}{{ if .gpa }} | GPA: {{ .gpa }}{{ end }}</span>
	{{- if .more -}}
		{{- if .link -}}
			{{- if $useFontAwesome -}}
			<br><span><a class="no-external-icon" href="{{ .link }}">{{ .more }}</a></span>
			<i class="fas fa-link"></i><br>
			{{- else -}}
			<span><a class="{{ if $noExternalIcon }}no-external-icon{{ end }}" href="{{ .link }}">{{ .more }}</a></span><br>
			{{- end -}}
		{{- else -}}
		<span>{{ .more }}</span>
		{{- end -}}
	{{- end -}}
	
	{{ if .details }}
		{{- partial "markdown" .details }}
	{{ end }}
</div>
{{ end }}