aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/sections
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2023-12-02 23:16:25 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2023-12-02 23:16:25 +0300
commit0e0251936b3c267a6e760562e704c34d0e8666ad (patch)
treef4e83eb70d38664dfb0b27e699f0a626c797a745 /layouts/partials/sections
parent91709c3567372bdf698f8fcb0b76915834bbffc1 (diff)
Organize sections
Diffstat (limited to 'layouts/partials/sections')
-rw-r--r--layouts/partials/sections/contacts.html17
-rw-r--r--layouts/partials/sections/education.html21
-rw-r--r--layouts/partials/sections/experience.html21
-rw-r--r--layouts/partials/sections/projects.html19
-rw-r--r--layouts/partials/sections/skills.html11
5 files changed, 89 insertions, 0 deletions
diff --git a/layouts/partials/sections/contacts.html b/layouts/partials/sections/contacts.html
new file mode 100644
index 0000000..b87b8cb
--- /dev/null
+++ b/layouts/partials/sections/contacts.html
@@ -0,0 +1,17 @@
+<div style="text-align: center;">
+ <h1 class="name">{{ .Site.Params.Name }}</h1>
+ <div style="font-size: small;">
+ {{ with .Site.Params.Phone }}
+ <a href="tel:{{ . }}">{{ . }}</a><span> |</span>
+ {{ end }}
+ {{ with .Site.Params.Email }}
+ <a href="mailto:{{ . }}">{{ . }}</a><span> |</span>
+ {{ end }}
+ {{ with .Site.Params.LinkedIn }}
+ <a href="https://{{ . }}">{{ . }}</a><span> |</span>
+ {{ end }}
+ {{ with .Site.Params.GitHub }}
+ <a href="https://{{ . }}">{{ . }}</a>
+ {{ end }}
+ </div>
+</div> \ No newline at end of file
diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html
new file mode 100644
index 0000000..f32f6ba
--- /dev/null
+++ b/layouts/partials/sections/education.html
@@ -0,0 +1,21 @@
+{{ with .Site.GetPage "/education" }}
+<h3>Education</h3>
+<table>
+ <tbody>
+ {{ range sort (.Pages) "Params.end_date" "desc" }}
+ <tr>
+ <td><strong>{{ .Title }}</strong></td>
+ <td style="text-align: right;">{{ with .Params.location}}{{ . }}{{ end }}</td>
+ </tr>
+ <tr>
+ <td><em>{{ with .Params.degree}}{{ . }}{{ end }}</em>
+ </td>
+ <td style="text-align: right;"><em>
+ {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} –
+ {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}</em>
+ </td>
+ </tr>
+ {{ end }}
+ </tbody>
+</table>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/sections/experience.html b/layouts/partials/sections/experience.html
new file mode 100644
index 0000000..5e25f37
--- /dev/null
+++ b/layouts/partials/sections/experience.html
@@ -0,0 +1,21 @@
+{{ with .Site.GetPage "/experience"}}
+<h3>Experience</h3>
+{{ range sort (.Pages) "Params.start_date" "desc" }}
+<table>
+ <tbody>
+ <tr>
+ <td><strong>{{ .Title }}</strong></td>
+ <td style="text-align: right;">
+ {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} –
+ {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}
+ </td>
+ </tr>
+ <tr>
+ <td><em>{{with .Params.workplace}}{{ . }}{{ end }}</em></td>
+ <td style="text-align: right;"><em>{{ with .Params.location}}{{ . }}{{ end }}</em></td>
+ </tr>
+ </tbody>
+</table>
+{{ .Content }}
+{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/sections/projects.html b/layouts/partials/sections/projects.html
new file mode 100644
index 0000000..ab4b497
--- /dev/null
+++ b/layouts/partials/sections/projects.html
@@ -0,0 +1,19 @@
+{{ with .Site.GetPage "/projects" }}
+<h3>Projects</h3>
+{{ range sort (.Pages) "Params.start_date" "desc" }}
+<table>
+ <tbody>
+ <tr>
+ <td><strong>{{ .Title }} </strong><span>|</span>
+ <em>{{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}}</em>
+ </td>
+ <td style="text-align: right;">
+ {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} –
+ {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }}
+ </td>
+ </tr>
+ </tbody>
+</table>
+{{ .Content }}
+{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/sections/skills.html b/layouts/partials/sections/skills.html
new file mode 100644
index 0000000..38dd515
--- /dev/null
+++ b/layouts/partials/sections/skills.html
@@ -0,0 +1,11 @@
+<h3>Technical Skills</h3>
+<div class="skills">
+ <strong>Languages</strong>: Java, Python, C/C++, SQL
+ (Postgres), JavaScript, HTML/CSS, R<br />
+ <strong>Frameworks</strong>: React, Node.js, Flask, JUnit,
+ WordPress, Material-UI, FastAPI<br />
+ <strong>Developer Tools</strong>: Git, Docker, TravisCI, Google
+ Cloud Platform, VS Code, Visual Studio, PyCharm, IntelliJ,
+ Eclipse<br />
+ <strong>Libraries</strong>: pandas, NumPy, Matplotlib
+</div> \ No newline at end of file