mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 16:20:11 +00:00
Modern: Update PDF from HTML.
This commit is contained in:
parent
6fa9cc3c7b
commit
bc77d70ed5
@ -12,8 +12,8 @@
|
|||||||
{{{ cssInfo.data }}}
|
{{{ cssInfo.data }}}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body class="pdf">
|
<body>
|
||||||
<main id="main">
|
<main id="main"> {{!<!-- Use your container markup of choice here -->}}
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<header>
|
<header>
|
||||||
<h1>{{{ r.name }}}</h1>
|
<h1>{{{ r.name }}}</h1>
|
||||||
@ -24,21 +24,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{{#has 'info.brief'}}
|
||||||
{{#if r.info.brief}}
|
|
||||||
<hr>
|
<hr>
|
||||||
<section id="summary">
|
<section id="summary">
|
||||||
|
|
||||||
<h2>{{{sectionTitle "info" "About"}}}</h2>
|
<h2>{{{sectionTitle "info" "About"}}}</h2>
|
||||||
<span class="fa fa-lg fa-user"></span>
|
<span class="fa fa-lg fa-user"></span>
|
||||||
|
|
||||||
{{{ r.info.brief }}}
|
{{{ r.info.brief }}}
|
||||||
</section>
|
</section>
|
||||||
{{/if}}
|
{{/has}}
|
||||||
|
|
||||||
{{!<!-- A custom skills section with colored skill bars. -->}}
|
|
||||||
|
|
||||||
{{#section 'skills' }}
|
{{#section 'skills' }}
|
||||||
<hr>
|
<hr>
|
||||||
<section id="skills">
|
<section id="skills">
|
||||||
<header>
|
<header>
|
||||||
<h2>{{{sectionTitle "Skills"}}}</h2>
|
<h2>{{{sectionTitle "Skills"}}}</h2>
|
||||||
</header>
|
</header>
|
||||||
@ -62,45 +62,71 @@
|
|||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
{{/section}}
|
{{/section}}
|
||||||
|
|
||||||
{{!<!--
|
|
||||||
Use predefined global partials for the other sections.
|
|
||||||
|
|
||||||
The "inline" bit before each section allows us to pass a custom heading
|
|
||||||
icon into the global partial. For this theme, we're using Font Awesome.
|
|
||||||
-->}}
|
|
||||||
|
|
||||||
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
||||||
{{> section/employment }}
|
|
||||||
|
{{#*inline "body-employment" }}
|
||||||
|
<div>
|
||||||
|
<h3><em>{{ position }}</em>,
|
||||||
|
{{#if url }}
|
||||||
|
<a href="{{{ url }}}">{{ employer }}</a>
|
||||||
|
{{else}}
|
||||||
|
{{ employer }}
|
||||||
|
{{/if}}
|
||||||
|
</h3>
|
||||||
|
<span class="tenure">{{dateRange .}}</span>
|
||||||
|
{{#if keywords}}
|
||||||
|
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
|
||||||
|
{{/if}}
|
||||||
|
<p>{{{ summary }}}</p>
|
||||||
|
{{> highlights }}
|
||||||
|
</div>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{> section/employment _icon="icon-employment"}}
|
||||||
|
|
||||||
|
|
||||||
|
{{#*inline "body-projects" }}
|
||||||
|
<div>
|
||||||
|
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
|
||||||
|
{{#if url}}
|
||||||
|
<a href="{{{ url }}}">{{ title }}</a>
|
||||||
|
{{else}}
|
||||||
|
{{ title }}
|
||||||
|
{{/if}}
|
||||||
|
</h3>
|
||||||
|
{{#if start}}<span class="tenure">{{dateRange .}}</span>{{/if}}
|
||||||
|
{{#if keywords}}
|
||||||
|
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
|
||||||
|
{{/if}}
|
||||||
|
{{{ summary }}}
|
||||||
|
{{> highlights }}
|
||||||
|
</div>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||||
{{> section/projects }}
|
|
||||||
|
{{> section/projects _icon="icon-projects"}}
|
||||||
|
|
||||||
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
||||||
{{> section/education }}
|
|
||||||
|
|
||||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||||
{{> section/service }}
|
|
||||||
|
|
||||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||||
{{> section/samples }}
|
|
||||||
|
|
||||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||||
{{> section/writing }}
|
|
||||||
|
|
||||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||||
{{> section/recognition }}
|
|
||||||
|
|
||||||
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
||||||
{{> section/speaking }}
|
|
||||||
|
|
||||||
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/testimonials }}
|
|
||||||
|
|
||||||
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||||
{{> section/references }}
|
|
||||||
|
{{> section/education _icon="icon-education"}}
|
||||||
|
{{> section/service _icon="icon-service"}}
|
||||||
|
{{> section/samples _icon="icon-samples"}}
|
||||||
|
{{> section/writing _icon="icon-writing"}}
|
||||||
|
{{> section/recognition _icon="icon-recognition"}}
|
||||||
|
{{> section/speaking _icon="icon-speaking"}}
|
||||||
|
{{> section/testimonials _icon="icon-testimonials"}}
|
||||||
|
{{> section/references _icon="icon-references"}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user