1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-07 14:27:08 +01:00

Start using {{hasSection}} helper.

This commit is contained in:
hacksalot
2016-01-05 00:24:07 -05:00
parent cf1360bc77
commit f06f97d364
18 changed files with 213 additions and 165 deletions

View File

@ -33,6 +33,14 @@
- {{ course }}
{% }); } }); } %}
{% if ( r.projects && r.projects.length ) { %}{% print(h.sectionTitle('PROJECTS')) %}
{% r.projects.forEach( function( proj, idx, ar) { %}
{{ proj.title }} ({{ proj.safe.start.format('YYYY-MM') }} — {{ proj.safe.end.format('YYYY-MM') }})
{{ proj.summary }}
{% if( edu.courses ) { %}{% proj.highlights.forEach( function( course ) { %}
- {{ course }}
{% }); } }); } %}
{% if ( r.service && r.service.history ) { %}{% print(h.sectionTitle('service', 'VOLUNTEER')) %}
{% r.service.history.forEach( function( srv, idx, ar) { %}
{{ srv.organization }} ({{ srv.safe.start.format('YYYY-MM') }} — {{ srv.safe.end.format('YYYY-MM') }})