mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-05-05 13:27:08 +01:00
Allow user-specified section headings.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>{{ RAW.name }}</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
||||
{{{styleSheet "compact-html.css"}}}
|
||||
{{{styleSheet "compact-html.css"}}}
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
@ -28,7 +28,7 @@
|
||||
{{#if r.skills}}
|
||||
<section id="skills">
|
||||
<header>
|
||||
<h2><span class="fa fa-code"></span> Skills</h2><hr>
|
||||
<h2><span class="fa fa-code"></span> {{{sectionTitle "Skills"}}}</h2><hr>
|
||||
</header>
|
||||
<table>
|
||||
<thead>
|
||||
@ -54,7 +54,7 @@
|
||||
{{#if r.employment}}
|
||||
<section id="employment">
|
||||
<header>
|
||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr>
|
||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2><hr>
|
||||
</header>
|
||||
|
||||
{{#each r.employment.history}}
|
||||
@ -97,7 +97,7 @@
|
||||
{{# if r.education}}
|
||||
<section id="education">
|
||||
<header>
|
||||
<h2><span class="fa fa-mortar-board"></span> Education</h2><hr>
|
||||
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2><hr>
|
||||
</header>
|
||||
{{#each r.education.history}}
|
||||
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
||||
@ -109,7 +109,7 @@
|
||||
{{#if r.service}}
|
||||
<section id="volunteer">
|
||||
<header>
|
||||
<h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2><hr>
|
||||
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2><hr>
|
||||
</header>
|
||||
{{#each r.service.history}}
|
||||
<h3><em>{{ position }}</em>,
|
||||
@ -135,7 +135,7 @@
|
||||
{{#if r.writing}}
|
||||
<section id="publications">
|
||||
<header>
|
||||
<h2><span class="fa fa-book"></span> Writing</h2><hr>
|
||||
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2><hr>
|
||||
</header>
|
||||
{{#each r.writing }}
|
||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
|
||||
@ -148,7 +148,7 @@
|
||||
{{# if r.recognition}}
|
||||
<section id="awards">
|
||||
<header>
|
||||
<h2><span class="fa fa-trophy"></span> Awards</h2><hr>
|
||||
<h2><span class="fa fa-trophy"></span> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
|
||||
</header>
|
||||
{{#each r.recognition}}
|
||||
<h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
|
||||
|
Reference in New Issue
Block a user