From 0e0251936b3c267a6e760562e704c34d0e8666ad Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Sat, 2 Dec 2023 23:16:25 +0300 Subject: Organize sections --- layouts/_default/baseof.html | 2 +- layouts/_default/section.html | 0 layouts/_default/single.html | 0 layouts/index.html | 14 ++-- layouts/partials/body/contacts.html | 17 ----- layouts/partials/body/education.html | 21 ------ layouts/partials/body/experience.html | 21 ------ layouts/partials/body/projects.html | 19 ------ layouts/partials/body/skills.html | 11 ---- layouts/partials/head/style.html | 106 ------------------------------ layouts/partials/sections/contacts.html | 17 +++++ layouts/partials/sections/education.html | 21 ++++++ layouts/partials/sections/experience.html | 21 ++++++ layouts/partials/sections/projects.html | 19 ++++++ layouts/partials/sections/skills.html | 11 ++++ layouts/partials/style.html | 106 ++++++++++++++++++++++++++++++ 16 files changed, 203 insertions(+), 203 deletions(-) create mode 100644 layouts/_default/section.html create mode 100644 layouts/_default/single.html delete mode 100644 layouts/partials/body/contacts.html delete mode 100644 layouts/partials/body/education.html delete mode 100644 layouts/partials/body/experience.html delete mode 100644 layouts/partials/body/projects.html delete mode 100644 layouts/partials/body/skills.html delete mode 100644 layouts/partials/head/style.html create mode 100644 layouts/partials/sections/contacts.html create mode 100644 layouts/partials/sections/education.html create mode 100644 layouts/partials/sections/experience.html create mode 100644 layouts/partials/sections/projects.html create mode 100644 layouts/partials/sections/skills.html create mode 100644 layouts/partials/style.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index eb129ee..0dfb23f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ {{ .Site.Title }} - {{ partial "head/style.html" . }} + {{ partial "style.html" . }} diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/index.html b/layouts/index.html index 720ea37..cc59101 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,9 +1,9 @@ {{ define "main" }} - - {{ partial "body/contacts.html" . }} - {{ partial "body/education.html" . }} - {{ partial "body/experience.html" . }} - {{ partial "body/projects.html" . }} - {{ partial "body/skills.html" . }} - +
+ {{ partial "sections/contacts.html" . }} + {{ partial "sections/education.html" . }} + {{ partial "sections/experience.html" . }} + {{ partial "sections/projects.html" . }} + {{ partial "sections/skills.html" . }} +
{{ end }} \ No newline at end of file diff --git a/layouts/partials/body/contacts.html b/layouts/partials/body/contacts.html deleted file mode 100644 index b87b8cb..0000000 --- a/layouts/partials/body/contacts.html +++ /dev/null @@ -1,17 +0,0 @@ -
-

{{ .Site.Params.Name }}

-
- {{ with .Site.Params.Phone }} - {{ . }} | - {{ end }} - {{ with .Site.Params.Email }} - {{ . }} | - {{ end }} - {{ with .Site.Params.LinkedIn }} - {{ . }} | - {{ end }} - {{ with .Site.Params.GitHub }} - {{ . }} - {{ end }} -
-
\ No newline at end of file diff --git a/layouts/partials/body/education.html b/layouts/partials/body/education.html deleted file mode 100644 index f32f6ba..0000000 --- a/layouts/partials/body/education.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ with .Site.GetPage "/education" }} -

Education

- - - {{ range sort (.Pages) "Params.end_date" "desc" }} - - - - - - - - - {{ end }} - -
{{ .Title }}{{ with .Params.location}}{{ . }}{{ end }}
{{ with .Params.degree}}{{ . }}{{ end }} - - {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – - {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} -
-{{ end }} \ No newline at end of file diff --git a/layouts/partials/body/experience.html b/layouts/partials/body/experience.html deleted file mode 100644 index 5e25f37..0000000 --- a/layouts/partials/body/experience.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ with .Site.GetPage "/experience"}} -

Experience

-{{ range sort (.Pages) "Params.start_date" "desc" }} - - - - - - - - - - - -
{{ .Title }} - {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – - {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} -
{{with .Params.workplace}}{{ . }}{{ end }}{{ with .Params.location}}{{ . }}{{ end }}
-{{ .Content }} -{{ end }} -{{ end }} \ No newline at end of file diff --git a/layouts/partials/body/projects.html b/layouts/partials/body/projects.html deleted file mode 100644 index ab4b497..0000000 --- a/layouts/partials/body/projects.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ with .Site.GetPage "/projects" }} -

Projects

-{{ range sort (.Pages) "Params.start_date" "desc" }} - - - - - - - -
{{ .Title }} | - {{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}} - - {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – - {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} -
-{{ .Content }} -{{ end }} -{{ end }} \ No newline at end of file diff --git a/layouts/partials/body/skills.html b/layouts/partials/body/skills.html deleted file mode 100644 index 38dd515..0000000 --- a/layouts/partials/body/skills.html +++ /dev/null @@ -1,11 +0,0 @@ -

Technical Skills

-
- Languages: Java, Python, C/C++, SQL - (Postgres), JavaScript, HTML/CSS, R
- Frameworks: React, Node.js, Flask, JUnit, - WordPress, Material-UI, FastAPI
- Developer Tools: Git, Docker, TravisCI, Google - Cloud Platform, VS Code, Visual Studio, PyCharm, IntelliJ, - Eclipse
- Libraries: pandas, NumPy, Matplotlib -
\ No newline at end of file diff --git a/layouts/partials/head/style.html b/layouts/partials/head/style.html deleted file mode 100644 index b2774c4..0000000 --- a/layouts/partials/head/style.html +++ /dev/null @@ -1,106 +0,0 @@ - \ No newline at end of file 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 @@ +
+

{{ .Site.Params.Name }}

+
+ {{ with .Site.Params.Phone }} + {{ . }} | + {{ end }} + {{ with .Site.Params.Email }} + {{ . }} | + {{ end }} + {{ with .Site.Params.LinkedIn }} + {{ . }} | + {{ end }} + {{ with .Site.Params.GitHub }} + {{ . }} + {{ end }} +
+
\ 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" }} +

Education

+ + + {{ range sort (.Pages) "Params.end_date" "desc" }} + + + + + + + + + {{ end }} + +
{{ .Title }}{{ with .Params.location}}{{ . }}{{ end }}
{{ with .Params.degree}}{{ . }}{{ end }} + + {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – + {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} +
+{{ 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"}} +

Experience

+{{ range sort (.Pages) "Params.start_date" "desc" }} + + + + + + + + + + + +
{{ .Title }} + {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – + {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} +
{{with .Params.workplace}}{{ . }}{{ end }}{{ with .Params.location}}{{ . }}{{ end }}
+{{ .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" }} +

Projects

+{{ range sort (.Pages) "Params.start_date" "desc" }} + + + + + + + +
{{ .Title }} | + {{ range $i, $e := .Params.tags -}}{{- if $i -}}, {{ end -}}{{ . }}{{- end -}} + + {{ with .Params.start_date }}{{ time.Format "Jan 2006" . }}{{ end }} – + {{ with .Params.end_date }}{{ time.Format "Jan 2006" . }}{{ else }}{{ "Present" }}{{ end }} +
+{{ .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 @@ +

Technical Skills

+
+ Languages: Java, Python, C/C++, SQL + (Postgres), JavaScript, HTML/CSS, R
+ Frameworks: React, Node.js, Flask, JUnit, + WordPress, Material-UI, FastAPI
+ Developer Tools: Git, Docker, TravisCI, Google + Cloud Platform, VS Code, Visual Studio, PyCharm, IntelliJ, + Eclipse
+ Libraries: pandas, NumPy, Matplotlib +
\ No newline at end of file diff --git a/layouts/partials/style.html b/layouts/partials/style.html new file mode 100644 index 0000000..bccfb8f --- /dev/null +++ b/layouts/partials/style.html @@ -0,0 +1,106 @@ + \ No newline at end of file -- cgit v1.2.3