Presentation/resume responsive design page to be published to GitHub Pages (or any other server), bundled up via webpack. The main template design is derived from sharu725/online-cv repo. It yet comprises a print friendly page that can be used as proper paper resume, with information displayed straightforward for better reading.
- You have to have NodeJS installed in order to compile the template
.
├── src # source files
│ ├── data.js # your resume data goes here
│ ├── favicon.ico # your live template icon goes here
│ ├── picture.jpg # your profile photo goes here
│ ├── index.js ## webpack dependencies for live template
│ ├── print.js ## webpack dependencies for print template
│ ├── boilerplate.js ## webpack common dependencies for both templates
│ ├── boilerplate.scss ## common style code for both templates
│ ├── print.scss ## style code of the print template
│ └── style.scss ## style code of the live template
├── index.html ## live template file
└── print.html ## print friendly template file
- Fork the repository (fork to yourgithubusername.github.io if you intend to publish on GitHub Pages)
- Edit the file
/src/data.js, changing the example entries with your personal data. - Replace the file
/src/picture.jpgfor your actual profile picture (142 x 142 recommended). - Replace the file
/src/favicon.icofor your preferred ico (you can use favicon-generator). - Open your command prompt in the project root folder and type
npm run buildto compile the template to the/distfolder. - Deploy the content of the
/distfolder to your server.
- Make sure the repository you are working on is in conform with GitHub Pages pattern.
- Commit and push all the alteration to the repository. Make sure you committed the
/distfolder as well. - Create a subtree of your
/distfolder by opening you git bash and typinggit subtree push --prefix dist origin gh-pages. It will push only the/distfolder content that will be published to a separated area. - Follow the instructions here to make GitHub Pages point to gh-pages subtree and load the page files from there.
- Open yourgithubusername.github.io and voilà!
- You can add or remove entries on the
data.jsfile, but be aware that if the integrity of the file is compromised, that template will not compile, and an error will be thrown on the command prompt when running npm run build
- The template engine uses lodash template function to interpolate data from
/src/data.js. If you'd like to customize how your data is displayed, you can alter the data file structure and rewrite the code on/index.htmland/print.htmlto get the new data. - You can modify the styling of the documents by modifying the
.scssfiles on the source folder
- I've created this resume template builder to serve my own CV. You can check it out at iangoop.github.io