Update README, Change config toml to yaml.

This commit is contained in:
mertbakir 2021-04-29 00:13:01 +03:00 committed by mertbakir
parent 00eb0180d5
commit b7f40fd3f7
9 changed files with 88 additions and 102 deletions

1
.gitignore vendored
View file

@ -37,4 +37,3 @@ Thumbs.db
# Local # Local
/_local /_local
/resources/

View file

@ -1,10 +1,18 @@
# !! Breaking Changes !!
Thanks to [@raphendyr](https://gitlab.com/raphendyr), we can now add more than one page and change order of the sections. Also, there are tons of refactoring which made the theme more modular.
**If you are already using a previous version of the theme, you will get an ERROR** after this update. Don't worry. The solution is very easy. You just need to edit ```projects.yaml```, ```features.yaml``` and ```config.yaml``` since their structure has changed. After that, all should be fine.
# Features # Features
* Simple, easy to use, single or multi page, A4-sized Resume generator. * Simple, easy to use, single or multi page, A4-sized Resume generator.
* Print friendly, just use your browser or save as PDF. * Print friendly, just use your browser or save as PDF.
* Write your resume in yaml. All content stored in data files. * Write your resume in yaml. All content stored in data files.
* Remove/Add sections from `config.toml`. * Add/Remove sections order change section orders by editing `config.yaml`.
* Section names are configurable in `config.toml`. So, you can write in any language you want. * Section names are configurable in `config.yaml`. So, you can write in any language you want.
[Here is a blog post](https://mertbakir.gitlab.io/projects/resume-a4/) about this project.
# How To Use # How To Use
@ -19,7 +27,7 @@ cd themes
git clone https://gitlab.com/mertbakir/resume-a4.git git clone https://gitlab.com/mertbakir/resume-a4.git
``` ```
or add ass a submodule or add as a submodule
``` ```
git submodule add https://gitlab.com/mertbakir/resume-a4.git themes/resume-a4 git submodule add https://gitlab.com/mertbakir/resume-a4.git themes/resume-a4
@ -27,19 +35,26 @@ git submodule add https://gitlab.com/mertbakir/resume-a4.git themes/resume-a4
## Start ## Start
1. Copy `config.toml` from `exampleSite` to the root directory of your hugo project. 1. Copy `config.yaml` from `exampleSite` to the root directory of your hugo project.
2. Open `config.toml` and add your relevant information. 2. Open `config.yaml` and add your relevant information.
3. Copy `data` folder from `exampleSite` to the root directory of your hugo project. All you need is that folder. 3. Copy `data` folder from `exampleSite` to the root directory of your hugo project. All you need is that folder.
4. Create your resume in yaml files. 4. Create your resume in yaml files.
## Notes ## Config File
* Add/Remove sections in `config.toml` * You can add/remove sections.
* Set avatar link in `config.toml`, keep your image under `static` folder if you want. * Add multiple pages as many as you like. (_still, let's not forget the aim here. a resume should be precise. I don't think a recruiter will scroll down on it._)
* You can change `style` of the `publications` feature in the config file. * Order of the "features" are important in the config file.
I've created options for APA and IEEE standards.
You can add more standards to `section-publications.html` file in the `layouts\partials` folder if you are looking for something else. ### Custom CSS
* [Here is the blog post](https://mertbakir.gitlab.io/projects/resume-a4/) about this project.
Copy the ```\assets``` folder under the ```exampleSite``` directory if you like to make simple modifications.
### Avatar
Set avatar link in `config.yaml`, you may keep the image under `static` folder.
### Publications
You can change `style` of the `publications` feature in the config file. There are options for APA and IEEE standards. Report me on gitlab or send a merge requests if standarts are erroneous. I'm no expert on citation standarts.
# License # License

View file

@ -51,8 +51,6 @@
} }
} }
.item-title {}
footer { footer {
display: none; display: none;
} }

View file

@ -69,7 +69,6 @@
.job-title { .job-title {
font-size: 14px; font-size: 14px;
font-style: italic;
} }
.date { .date {

View file

@ -1,18 +1,8 @@
baseURL = "/" baseURL: "/"
languageCode = "en-us" languageCode: "en-us"
title = "Resume | MERT BAKIR" title: "Resume | MERT BAKIR"
disableKinds = ["taxonomy", "term", "page", "section", "RSS", "sitemap", "robotsTXT", "404"] disableKinds: ["taxonomy", "term", "page", "section", "RSS", "sitemap", "robotsTXT", "404"]
theme = "resume-a4" theme: "resume-a4"
[params]
useFontAwesome = true
css = [ "custom.scss" ]
[params.header]
avatar = "avatar.jpg"
contact = true
tagline = true
links = true
# Construct main column, side column and additional page from features # Construct main column, side column and additional page from features
# Every column and page may include any features. Some features are # Every column and page may include any features. Some features are
@ -55,73 +45,52 @@ links = true
# groupName: title of the group # groupName: title of the group
# list: list of strings rendered under the group # list: list of strings rendered under the group
# Side panel params:
useFontAwesome: true
[[params.side]] css:
feature = "education" - custom.scss
header:
[[params.side]] avatar: avatar.jpg
feature = "languages" contact: true
tagline: true
[[params.side]] links: false
feature = "skills" side:
widget = "word-list" - feature: languages
style = "title-list" # list, compact, title-list - feature: skills
widget: word-list
[[params.side]] style: compact # list, compact, title-list
feature = "interests" - feature: education
widget = "word-list" - feature: interests
style = "list" # list, compact, title-list widget: word-list
style: list
pages:
# First Page - features:
- feature: about
[[params.pages]] title: About Me
[[params.pages.features]] - feature: experience
feature = "about" - features:
title = "About Me" - feature: projects
collection: projects
[[params.pages.features]] - feature: publications
feature = "experience" style: IEEE # IEEE, APA, else
- feature: awards
- feature: certificates
# Additional Pages title: Certifications
- feature: interests
[[params.pages]] widget: word-list
[[params.pages.features]] style: list
feature = "projects"
collection = "projects" footer:
show: true
[[params.pages.features]] credits: true
feature = "publications" footnote: >-
style = "IEEE" # IEEE, APA, else You can print this resume in A4 size or save as pdf. | Last update on 2020-09-01.
links:
[[params.pages.features]] - prefix: Contact me on
feature = "awards" title: Linkedin
url: 'https://linkedin.com/in/mertbakir/'
[[params.pages.features]] icon: fab fa-linkedin
feature = "certificates" - prefix: Check out my
title = "Certifications" title: Website
url: 'https://mertbakir.gitlab.io/about/'
icon: fas fa-globe
# Footer
[params.footer]
show = true
credits = true
footnote = "You can print this resume in A4 size or save as pdf. | Last update on 2020-09-01."
[[params.footer.links]]
prefix = "Contact me on"
title = "Linkedin"
url = "https://linkedin.com/in/mertbakir/"
icon = "fab fa-linkedin"
[[params.footer.links]]
prefix = "Check out my"
title = "Website"
url = "https://mertbakir.gitlab.io/about/"
icon = "fas fa-globe"
# p.s. if you know YAML, then you should use that for this file.

View file

@ -13,3 +13,7 @@ main.paper {
//line-height: 1.5; //line-height: 1.5;
} }
} }
.job_title {
// font-style: italic;
}

View file

@ -13,5 +13,5 @@ projects:
Bring CI/CD to your resume using YAML and Git." Bring CI/CD to your resume using YAML and Git."
links: links:
- title: Available in GitLab - title: Available in GitLab
utl: https://gitlab.com/mertbakir/resume-a4 url: https://gitlab.com/mertbakir/resume-a4
icon: fab fa-gitlab icon: fab fa-gitlab

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"Target":"css/main.min.ce35efa31d5a9b210d2d8611078223c82ed49d6f51a468abfe9c6445cabc56ef.css","MediaType":"text/css","Data":{"Integrity":"sha256-zjXvox1amyENLYYRB4IjyC7UnW9RpGir/pxkRcq8Vu8="}}