-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In the official .js implementation, any theme installed system-wide that is named jsonresume-theme-.* can be used. Following that behavior could be favorable. It shouldn't be very hard but could ease the management of this project in different ways:
- Each official default theme you already wrote in resume_json/templates/ would have its own repository. The cli and themes would be autonomous. But, having them in a
requirements.txtfile in the cli would still make them available by default. - Original creators of themes may be interested in using the Jinja2 template engine instead of the obsolete Handlebars one in .js.
- Other people may be interested in contributing their own theme, which could then be used easily.
That kinda goes against what I wrote #1 and #2, but meh.
The implementation in the cli would rely on using several PackageLoader. But that also means creating new repository for existing themes.
https://github.com/jsonresume/resume-cli/blob/c5d057eba6dda1485d6a207a0bc12935806de414/lib/main.js#L17-L26
That's essentially the official implementation.
Metadata
Metadata
Assignees
Labels
No labels