From bd132b183c649d8f89af641cbd6bf1c3c9f43ad7 Mon Sep 17 00:00:00 2001 From: mertbakir <2335694-mertbakir@users.noreply.gitlab.com> Date: Fri, 12 Feb 2021 22:01:55 +0300 Subject: [PATCH] Certifications section added. Section titles are customizable. --- README.md | 4 ++-- assets/sass/_base.scss | 4 +++- assets/sass/_item_styling.scss | 2 +- assets/sass/main.scss | 2 +- exampleSite/config.toml | 13 +++++++++++++ exampleSite/data/education.yaml | 2 +- exampleSite/data/features.yaml | 10 +++++++++- layouts/home.html | 4 ++++ layouts/partials/about-me.html | 2 +- layouts/partials/awards.html | 2 +- layouts/partials/certificates.html | 14 ++++++++++++++ layouts/partials/education.html | 2 +- layouts/partials/experience.html | 2 +- layouts/partials/interests.html | 2 +- layouts/partials/languages.html | 2 +- layouts/partials/skills.html | 2 +- layouts/partials/skills_grouped.html | 2 +- ...n.scss_48b060fe05b0a273d182ef83c0605941.content | 2 +- ...main.scss_48b060fe05b0a273d182ef83c0605941.json | 2 +- 19 files changed, 58 insertions(+), 17 deletions(-) create mode 100644 layouts/partials/certificates.html diff --git a/README.md b/README.md index 2c8c241..00b4e56 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 4. Remove side grid from front config file. > Add new scss and an if statement in head. Should be ez, but I'm not sure if ```/resources``` dependency of theme would be a problem. 5. ~~Make footer configurable from config file.~~ 6. Add multilanguage option. -7. I'll write a blog post soon. +7. ~~I'll write a blog post soon.~~ [Here is the blog post](https://mertbakir.gitlab.io/projects/resume-a4/) 8. Add linkedin in resume header (?) > I'm open to suggestions or contributions. @@ -23,7 +23,7 @@ ## Download 1. Create a hugo project. -2. Go to themes folder. +2. Go to themes folder. 3. Clone this theme. ``` diff --git a/assets/sass/_base.scss b/assets/sass/_base.scss index a4d76b1..ff83785 100644 --- a/assets/sass/_base.scss +++ b/assets/sass/_base.scss @@ -7,6 +7,7 @@ body { background: #FFF; + color: $text-color; font-family: $font-1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -14,6 +15,7 @@ a { text-decoration: none; + color: $text-color; } li { @@ -58,7 +60,7 @@ font-family: $font-1; h1 { font-size: 64px; - color: $heading-color; + color: $text-color; letter-spacing: 0.15rem; } } diff --git a/assets/sass/_item_styling.scss b/assets/sass/_item_styling.scss index ef32ac2..02ae8e8 100644 --- a/assets/sass/_item_styling.scss +++ b/assets/sass/_item_styling.scss @@ -19,7 +19,7 @@ } .section-title { - border-left: solid 6px $heading-color; + border-left: solid 6px $text-color; padding-left: 8px; font-family: $font-1; } diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 2af490e..0a5d6df 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -1,6 +1,6 @@ $font-1: 'PT Sans', 'IBM Plex Sans', 'Arial', sans-serif; $border-color: #bfbfbf; -$heading-color: #202020; +$text-color: #202020; $toprak: #b56b00; $turk: #E30A17; diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5ddf441..dccd738 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -21,8 +21,21 @@ tagline = true aboutMe = false projects = false papers = false +certificates = true avatar = true +[params.title_as] +experience = "Experience" +education = "Education" +languages = "Languages" +awards = "Awards" +skills = "Skills" +certificates = "Certifications" +interests = "Interests" +about_me = "About Me" +papers = "Academic" +projects = "Projects" + [params.display.footer] footer = true links = true diff --git a/exampleSite/data/education.yaml b/exampleSite/data/education.yaml index 8626c77..abbc9cf 100644 --- a/exampleSite/data/education.yaml +++ b/exampleSite/data/education.yaml @@ -1,7 +1,7 @@ - name: "Msc. Industrial Engineering" university: "Yildiz Technical University" date: "2019- 2021" - gpa: "3.63 / 4.00" + gpa: "3.71 / 4.00" - name: "Bsc. Industrial Engineering" university: "Gazi University" diff --git a/exampleSite/data/features.yaml b/exampleSite/data/features.yaml index bfd5de6..aef9650 100644 --- a/exampleSite/data/features.yaml +++ b/exampleSite/data/features.yaml @@ -29,12 +29,20 @@ languages: level: "Professional" certificates: ["YDS: 86.25 - 2018", "TOEFL: 109 - 2021"] - awards: - name: "Tübitak - Graduation Project" date: "2017" details: "A Decision Support System for 3D Cutting Problem" +certificates: + - name: "Supervised Learning: Regression" + date: "2020" + issued_by: "Coursera" + link: "https://www.coursera.org/account/accomplishments/certificate/7T7YUWB8YNSH" + + - name: "Supervised Learning: Classification" + date: "2020" + issued_by: "Coursera" about: - name: "MERT BAKIR" diff --git a/layouts/home.html b/layouts/home.html index baa8102..28adde8 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -47,6 +47,10 @@ {{ partial "languages" . }} {{ end }} + {{ if .Site.Params.display.certificates }} + {{ partial "certificates" . }} + {{ end }} + {{ if .Site.Params.display.awards }} {{ partial "awards" . }} {{ end }} diff --git a/layouts/partials/about-me.html b/layouts/partials/about-me.html index fd860d8..1b32d6a 100644 --- a/layouts/partials/about-me.html +++ b/layouts/partials/about-me.html @@ -1,5 +1,5 @@
{{ range .Site.Data.features.about }} {{ .details }} diff --git a/layouts/partials/awards.html b/layouts/partials/awards.html index 75c2732..8ba5d85 100644 --- a/layouts/partials/awards.html +++ b/layouts/partials/awards.html @@ -1,5 +1,5 @@