From 9edb68bb67c721ad403cc477d3a19d3f75925f46 Mon Sep 17 00:00:00 2001
From: unpregnant

+ # best-resume-ever
+Build your best resume ever!
+A collection of beautiful resumes build with LESS and Mustache Templates. Choose your favorite Curriculum Vitae and easily export it as pdf.
+
-
-
-## Install
-
-Follow these instructions to create your own CV:
-
-- Clone this repository.
-- Switch to project directory and run `npm install`.
-- Adjust your personal information in `person.js`.
-- Replace placeholder image `/public/person.jpg` with your portrait.
-- To preview your CV run `npm start`. Check out
+Follow these instructions to create your own CV:
+npm install.person.js./public/person.jpg with your portrait.npm start. Check out http://localhost:3000./less according to your needs.npm run pdf to generate all CVs as pdf. You will find the generated pdfs in /pdf.TODO
+TODO
+Feel free to create your own templates!
+Icons made by Vectors Market from www.flaticon.com is licensed by CC 3.0 BY
+</div>
+<script>
+ var headline = document.getElementsByTagName('h1')[0];
+ headline.innerHTML += '<img src="public/suitcase.png" width="150" />';
+</script>
+
+
+
\ No newline at end of file
diff --git a/src/renderReadMe.js b/src/renderReadMe.js
index e8938e9..9193018 100755
--- a/src/renderReadMe.js
+++ b/src/renderReadMe.js
@@ -16,11 +16,12 @@ function readFileContent(fileName) {
}
async function renderReadMe() {
- const readme = await readFileContent('README.md');
+ const readmeContent = await readFileContent('README.md');
const githubPagesTemplate = await readFileContent('resumes/views/githubPages.mustache');
- var html = Mustache.render(githubPagesTemplate, {
- content: readme
+ const readme = Mustache.render(githubPagesTemplate, {
+ content: readmeContent
});
+ const html = converter.makeHtml(readme);
writeFile('index.html', html, err => {
if (err) console.log(err)
else console.log('Github pages index.html was successfully generated from README.');