Build a CV in html using data from a separate repository.
css | ||
.gitignore | ||
cvbuild.py | ||
out.html.j2 | ||
README.md |
HTML-CV
Build a CV in HTML using data from a separate repository.
The data is expected to be in JSON format.
Usage
The data for the CV isn't included.
You need to make it separately, and symlink or put it in the root directory of this project, in a folder called data
:
data/
|- cv-photo.png
|- education.json
|- experience.json
|- meta.json
The format of the json files should be the following:
experience.json
,education.json
:[ { "select": true|false "year": "...", "month": "...", "day": "...", "title": "...", "context": "..." }, { ... } ]
meta.json
:{ "name": "...", "surname": "...", "title": "...", "born_year": "...", "born_month": "...", "born_day": "...", "phone": "...", "email": "...", "address": "...", "zip_code": "...", "city": "...", "git": "...", "site": "...", "assets": [ "...", "..." ], "languages": [ "...", "..." ], "skills": { "...": [ "...", "..." ], ... } }
Each key can contain a dict wrapping the values in language keys. So instead of writing:
"title": "...",
You can write:
"title": {
"en": "...",
"fr": "..."
},
Once the json files are ready, run ./cvbuild.py
to create a file out.html
which contains the CV.