Build a CV in html using data from a separate repository.
Find a file
2023-02-03 23:46:31 +01:00
css Rename competences to skills 2023-01-23 11:27:36 +01:00
.gitignore Add language to output filename 2023-01-23 13:49:35 +01:00
cvbuild.py Add language to output filename 2023-01-23 13:49:35 +01:00
out.html.j2 Modify links to data and css 2023-02-03 23:46:31 +01:00
README.md Update README with recent changes 2023-01-23 13:38:09 +01:00

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.