+ Legal +
++ {{page.legal}} +
+ {% endif %} +diff --git a/.gitignore b/.gitignore index 2b8ee31c0d..247e2b53ca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ _site/ -.sass-cache/ \ No newline at end of file +.sass-cache/ +.jekyll-cache/ \ No newline at end of file diff --git a/README.md b/README.md index 99d2d44506..0d06567b07 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,23 @@ For more details, see the [project page](http://elipapa.github.io/markdown-cv), *** +Extended version: +- added multiple CV support, now INDEX.md defines the navigation hub. To edit CV look at **_includes/cv_content.md** +- added **legal** variable that generates additional info personalized for your employer in one paragraf + +this README.md file was edited by me to accomodate those changes. + +...Jacek + +*** + ## Customization Simply [fork the markdown-cv repo](https://github.com/elipapa/markdown-cv) ![](https://help.github.com/assets/images/help/repository/fork_button.jpg) -and edit the `index.md` file [directly in Github](https://help.github.com/articles/editing-files-in-your-repository/) +and edit the `_includes/cv_content.md` file [directly in Github](https://help.github.com/articles/editing-files-in-your-repository/) ![](https://help.github.com/assets/images/help/repository/edit-file-edit-button.png) @@ -20,46 +30,56 @@ adding your skills, jobs and education. ![](https://help.github.com/assets/images/help/repository/edit-readme-light.png) -## Distribution - -To transform your plain text CV into a beautiful and shareable HTML page, you have two options: +after that you can create multiple cvs, via adding them in __posts using `YEAR-MONTH-DAY-name-.md`. All created cvs should appear at index.html page. They include **legal** variable, and content of file will be appear on the middle (below cv_content.md and above legal variable) of your cv page. -### I. Use Github Pages to publish it online - -1. Delete the existing `gh-pages` branch from your fork. It will only contain this webpage. You can either use git or [the Github web interface](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/#deleting-a-branch). -2. Create a new branch called `gh-pages`. -3. Head to *yourusername*.github.io/markdown-cv to see your CV live. +## Distribution -Any change you want to make to your CV from then on would have to be done on the `gh-pages` branch and will be immediately rendered by Github Pages. +To transform your plain text CV into a beautiful and shareable HTML page, you have two options below. With this extended version I highly suggest using local build and printing. -### II. Build it locally and print a PDF +### I. Build it locally and print a PDF 1. To [install jekyll](https://jekyllrb.com/docs/installation/), run `gem install bundler jekyll` from the command line. 3. [Clone](https://help.github.com/en/articles/cloning-a-repository) your fork of markdown-cv to your local machine. 3. Type `jekyll serve` to render your CV at http://localhost:4000. 4. You can edit the `index.md` file and see the changes live in your browser. 5. To print a PDF, press ⌘ + p. Print and web CSS media queries should take care of the styling. + +### II. Use Github Pages to publish it online + +1. Delete the existing `gh-pages` branch from your fork. It will only contain this webpage. You can either use git or [the Github web interface](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/#deleting-a-branch). +2. Create a new branch called `gh-pages`. +3. Head to *yourusername*.github.io/markdown-cv to see your CV live. + +Any change you want to make to your CV from then on would have to be done on the `gh-pages` branch and will be immediately rendered by Github Pages. ## Styling -The included CSS will render your CV in two styles: -s +The included CSS will render your CV in three styles: + 1. `kjhealy` the original default, inspired by [kjhealy's vita template](https://github.com/kjhealy/kjh-vita). 2. `davewhipp` is a tweaked version of `kjhealy`, with bigger fonts and dates right aligned. +3. `jacekwozniak` is extended version of those two before mentioned. + +In addition all styles got new `hide-print` class. To change the default style, simply change the variable in the `_config.yml` file. -Any other styling is possible. More CSS style contributions and forks are welcome! +Any other styling is possible. More CSS style contributions and forks are welcome! ### Author Eliseo Papa ([Twitter](http://twitter.com/elipapa)/[Github](http://github.com/elipapa)/[Website](https://elipapa.github.io)). + ![Eliseo Papa](https://s.gravatar.com/avatar/eae1f0c01afda2bed9ce9cb88f6873f6?s=100) + +Extended by Jacek Woźniak [Website](https://jacekwozniak12.github.io/) + + ### License [MIT License](https://github.com/elipapa/markdown-cv/blob/master/LICENSE) diff --git a/_includes/cv_content.md b/_includes/cv_content.md new file mode 100644 index 0000000000..e172969013 --- /dev/null +++ b/_includes/cv_content.md @@ -0,0 +1,89 @@ + + +# Isaac Newton +Physicist, Mathematician, Cambridge professor. + +
+ + +## Currently + +Standing on the shoulders of giants + +### Specialized in + +Laws of motion, gravitation, minting coins, disliking [Robert Hooke](http://en.wikipedia.org/wiki/Robert_Hooke) + + +### Research interests + +Cooling, power series, optics, alchemy, planetary motions, apples. + + +## Education + +`1654-1660` +__The King's School, Grantham.__ + +`June 1661 - now` +__Trinity College, Cambridge__ + +- Sizar + +`1667 - death` +__Trinity College, Cambridge__ + +- Fellow + + + +## Awards + +`2012` +President, *Royal Society*, London, UK + +Associate, *French Academy of Science*, Paris, France + + + +## Publications + + + +### Journals + +`1669` +Newton Sir I, De analysi per æquationes numero terminorum infinitas. + +`1669` +Lectiones opticæ. + +etc. etc. etc. + +### Patents + +`2012` +Infinitesimal calculus for solutions to physics problems, [SMBC](http://www.techdirt.com/articles/20121011/09312820678/if-patents-had-been-around-time-newton.shtml) patent 001 + + +## Occupation + +`1600` +__Royal Mint__, London + +- Warden +- Minted coins + +`1600` +__Lucasian professor of Mathematics__, Cambridge University + + + + + + diff --git a/_layouts/cv.html b/_layouts/cv.html index 991939d51b..c10fc6eb40 100644 --- a/_layouts/cv.html +++ b/_layouts/cv.html @@ -1,16 +1,39 @@ - + ++ {{page.legal}} +
+ {% endif %} +