Publications section added.
This commit is contained in:
parent
40b9aeb26c
commit
38253c1174
6 changed files with 79 additions and 13 deletions
15
README.md
15
README.md
|
@ -1,18 +1,11 @@
|
|||
# To Do:
|
||||
|
||||
1. Papers Section
|
||||
2. Remove side grid from front config file. [?] > Add new scss and an if statement in head. Should be easy, but I'm not sure if ```/resources``` dependency of theme will be a problem.
|
||||
3. [Here is the blog post](https://mertbakir.gitlab.io/projects/resume-a4/)
|
||||
|
||||
> _I'm open to suggestions and contributions._
|
||||
|
||||
# Features
|
||||
|
||||
* Simple, easy to use, single page, A4-sized Resume generator.
|
||||
* Print friendly, just use your browser or save as PDF.
|
||||
* Write your resume in yaml. All content stored in data files.
|
||||
* Configure sections from ```config.toml```.
|
||||
* Enable/Disable sections from ```config.toml```.
|
||||
* Section names are configurable in ```config.toml```. So, you can write in any language you want.
|
||||
* Change ```bib_style``` (APA, IEEE, else) for ```publications.yaml```.
|
||||
|
||||
# How To Use
|
||||
|
||||
|
@ -38,11 +31,15 @@ $ git clone https://gitlab.com/mertbakir/resume-a4.git
|
|||
|
||||
* Enable/Disable Sections in ```config.toml```
|
||||
* Set avatar link in ```config.toml```, keep your image under ```static``` folder if you want.
|
||||
* You can change bib_style in the config file. I've created options for APA and IEEE standards. You can configure ```publications.html``` file in the ```layouts\partials``` folder if you are looking for something else.
|
||||
* [Here is the blog post](https://mertbakir.gitlab.io/projects/resume-a4/) about this project.
|
||||
|
||||
# License
|
||||
|
||||
This project is open-sourced and licensed under the terms of the MIT license. I would be happy though, if you give attribution. <3
|
||||
|
||||
> _I'm open to suggestions and contributions._
|
||||
|
||||
# My Work Flow
|
||||
|
||||
1. Make changes.
|
||||
|
|
|
@ -7,6 +7,7 @@ theme = "resume-A4"
|
|||
[params]
|
||||
useFontAwesome = true
|
||||
avatar = "avatar.jpg"
|
||||
bib_style = "IEEE" # IEEE, APA, else
|
||||
|
||||
[params.display]
|
||||
experience = true
|
||||
|
@ -21,7 +22,7 @@ linkedin = false
|
|||
tagline = true
|
||||
aboutMe = false
|
||||
projects = false
|
||||
papers = false
|
||||
publications = false
|
||||
certificates = true
|
||||
avatar = true
|
||||
|
||||
|
@ -34,7 +35,7 @@ skills = "Skills"
|
|||
certificates = "Certifications"
|
||||
interests = "Interests"
|
||||
about_me = "About Me"
|
||||
papers = "Academic"
|
||||
publications = "Publications"
|
||||
projects = "Projects"
|
||||
|
||||
[params.display.footer]
|
||||
|
|
12
exampleSite/data/publications.yaml
Normal file
12
exampleSite/data/publications.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- authors:
|
||||
- last_name: Dantzing
|
||||
first_name: George
|
||||
- last_name: Sunstrider
|
||||
middle_name: "Felo'melorn"
|
||||
first_name: Kael'thas
|
||||
date: "2006"
|
||||
title: "Additive Outlier Detection Via Extreme-Value Theory"
|
||||
journal: Journal of Time Series Analysis
|
||||
vol: 27
|
||||
issue: 5
|
||||
page: "29-34"
|
|
@ -32,8 +32,8 @@
|
|||
{{ partial "projects" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.display.papers }}
|
||||
{{ partial "papers" . }}
|
||||
{{ if .Site.Params.display.publications }}
|
||||
{{ partial "publications" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.display.certificates }}
|
||||
|
|
56
layouts/partials/publications.html
Normal file
56
layouts/partials/publications.html
Normal file
|
@ -0,0 +1,56 @@
|
|||
<div class="section">
|
||||
<h1 class="section-title">{{ .Site.Params.title_as.publications }}</h1>
|
||||
{{ range .Site.Data.publications }}
|
||||
<div class="item">
|
||||
{{ if eq $.Site.Params.bib_style "IEEE" }}
|
||||
<span>
|
||||
{{ range .authors }}
|
||||
{{ substr .first_name 0 1 }}.
|
||||
{{ with .middle_name}}{{ substr . 0 1 }}.{{end}}
|
||||
{{ .last_name }},
|
||||
{{ end }}
|
||||
</span> <span>"{{ .title }}",</span>
|
||||
{{ if .journal }}
|
||||
<span>{{ .journal }}</span>,
|
||||
{{ with .vol }}
|
||||
<span>vol. {{.}}</span>,
|
||||
{{ end }}
|
||||
{{ with .page }}
|
||||
<span>pp. {{.}}</span>,
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<span>{{ .date }}</span>.
|
||||
|
||||
{{ else if eq $.Site.Params.bib_style "APA" }}
|
||||
<span>
|
||||
{{ $last_index := sub (.authors | len) 1 }}
|
||||
{{ range $i, $e := .authors }}
|
||||
{{ $e.last_name }},
|
||||
{{ substr $e.first_name 0 1 }}.
|
||||
{{- with $e.middle_name -}}{{ substr . 0 1 }}.{{- end -}}
|
||||
{{- if ne $i $last_index -}},{{- end -}}
|
||||
{{ end }}
|
||||
<span>({{ .date }}).</span>
|
||||
</span>
|
||||
<span>{{ .title }}.</span>
|
||||
{{ if .journal }}
|
||||
<span>{{ .journal }}</span>
|
||||
{{- if .vol -}}
|
||||
<span>, {{.vol}}{{if .issue}}({{.issue}}){{end}}</span>,
|
||||
{{- end -}}
|
||||
{{ with .page }}
|
||||
<span>{{.}}</span>
|
||||
{{ end }}
|
||||
{{ end }}.
|
||||
|
||||
{{ else }}
|
||||
{{ range .authors }}
|
||||
{{ .last_name }} {{ substr .first_name 0 1 }}.
|
||||
{{ end }}
|
||||
|
||||
{{ .title }}
|
||||
{{ .date }}.
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Reference in a new issue