mirror of
				https://github.com/JuanCanham/fresh-themes.git
				synced 2025-10-30 20:37:27 +00:00 
			
		
		
		
	Start using {{hasSection}} helper.
This commit is contained in:
		| @@ -96,7 +96,34 @@ | ||||
| </section> | ||||
| {{/if}} | ||||
|  | ||||
| {{# if r.education}} | ||||
| {{#hasSection 'projects'}} | ||||
| <hr> | ||||
| <section id="projects"> | ||||
|   <header> | ||||
|   <h3>{{{sectionTitle "Projects"}}}</h3> | ||||
|   </header> | ||||
|   <span class="fa fa-lg fa-building"></span> | ||||
|   {{#each r.projects}} | ||||
|     {{#if url}} | ||||
|     <h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4> | ||||
|     {{else}} | ||||
|     <h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4> | ||||
|     {{/if}} | ||||
|     <span class="tenure">{{formatDate safe.start 'YYYY-MM' }}—{{formatDate safe.end 'YYYY-MM' }}</span> | ||||
|     {{{ summary }}} | ||||
|     {{#if proj.highlights}} | ||||
|       <ul> | ||||
|       {{#each highlights}} | ||||
|         <li>{{{ this }}}</li> | ||||
|       {{/each}} | ||||
|       </ul> | ||||
|     {{/if}} | ||||
|   {{/each}} | ||||
|  | ||||
| </section> | ||||
| {{/hasSection}} | ||||
|  | ||||
| {{#hasSection 'education'}} | ||||
| <hr> | ||||
| <section id="education"> | ||||
|   <header> | ||||
| @@ -116,7 +143,7 @@ | ||||
|   {{/each}} | ||||
|  | ||||
| </section> | ||||
| {{/if}} | ||||
| {{/hasSection}} | ||||
|  | ||||
| {{#if r.service}} | ||||
| <hr> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user