-
Notifications
You must be signed in to change notification settings - Fork 90
Description
Thank you for your theme, Adam. Love it!
I forked and translated it into German. I discovered that some sections appear even though they are left empty. It would be great, you could make them disappear as described:
Every section is optional. If you do not include the publications array in your resume.json, no publications section will appear.
Sections concerned
Note: This is an example and not a complete list (e.g., awards has got the same issue)
The following sections are left empty in the resume.json file and cause different problems:
- profiles
- volunteer
- publications
- projects
On local server
- profiles (an empty icon box remains)
- volunteer (the section is visible)
Quick fix for volunteer: remove section from resume.json and comment the related lines in index.js. The empty icon box remains.
Publications and projects work as intended and don't show.
On online server (registry.jsonresume.org/)
Error message on registry.jsonresume.org:
JSON Resume
Resume json invalid - [{"code":"PATTERN","params":["^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$",""],"message":"String does not match pattern ^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$: ","path":"#/projects/0/endDate","description":"e.g. 2014-06-29"}] - Please visit https://github.com/jsonresume/registry-functions/issues/27
When deleting the sections volunteer, publications and projects from the resume.json, the file renders, but the profile section shows an empty icon box.
I hope this report helps.