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

gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormertbakir <2335694-mertbakir@users.noreply.gitlab.com>2023-12-24 14:17:24 +0300
committermertbakir <2335694-mertbakir@users.noreply.gitlab.com>2023-12-24 14:17:24 +0300
commit37e648c1d03444308adeb8b8f1b921a27d18446a (patch)
tree213e673d58a4eb57c4c36a84e1a9b19c8634d033 /layouts/partials/section-education.html
parenta4948115181eb177096ef97f368ead78278dd55b (diff)
CSS & Layout Updates:
- New fields added in education and experience sections. - Now a section can be separated into multiple pages. - You can define page number for each item, see experience.yaml - Header: - if no avatar is displayed, then contact links will be on the right. - header will repeat for each page. - CSS class names are mostly kept unchanged.
Diffstat (limited to 'layouts/partials/section-education.html')
-rw-r--r--layouts/partials/section-education.html39
1 files changed, 36 insertions, 3 deletions
diff --git a/layouts/partials/section-education.html b/layouts/partials/section-education.html
index e6c6888..12b1440 100644
--- a/layouts/partials/section-education.html
+++ b/layouts/partials/section-education.html
@@ -1,8 +1,41 @@
+{{ $isOnSide := false }}
+{{ range .Params.side }}
+{{ if eq .feature "education" }}
+ {{ $isOnSide = true }}
+{{ end }}
+{{ end }}
+
{{ range .Data.education }}
<div class="item">
- <h2 class="item-title">{{ .name }}</h2>
- <span>{{ .university }}</span><br>
- {{ if .more }}<span>{{ .more }}</span><br>{{ end }}
+
+ {{- 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 }}