{% extends "base.html" %} {% block header %}

{{p['name']}}

{% endblock header %} {% block content %}

{{p['position'].capitalize()}}

{{p.get('bio', '').replace('\n\n', '

')}}

{%if 'honors' in p and len(p['honors']) > 0%}

Honors

{%for h in sorted(p['honors'], key=doc_date_key, reverse=True)%}

{{h['name']}}

{{h.get('month', '')}} {{h['year']}}{%if 'duration' in h%}, Duration: {{h['duration']}}{%endif%} {%if 'description' in h%}
{{h['description']}}{%endif%}

{%endfor%} {%endif%} {%if len(education_and_employment) > 0%}

Education & Employment


{%for e in education_and_employment%} {%if 'institution' in e%}{# In eduction #}

{{e['institution']}}

{%if 'degree' in e%}

{{e['degree']}}

{%else%}

{{e['position']}}

{%endif%} {%elif 'organization' in e%}{# In emplyment #}

{{e['organization']}}

{{e['position']}}

{%endif%} {{e['location']}}, {{e['begin_year']}} - {{e.get('end_year', 'present')}}
{%if 'other' in e and len(e['other']) > 0%} {%endif%} {%endfor%} {%endif%} {%if 'funding' in p and len(p['funding']) > 0%}

Awards, Grants, & Contracts

{%for f in sorted(p['funding'], key=doc_date_key, reverse=True)%}

{{f['name']}}

{{f.get('currency', '$')}}{{'{:,.2f}'.format(f['value'])}} in {{f.get('month', '')}} {{f['year']}}{%if 'duration' in f%}, Duration: {{f['duration']}}{%endif%}

{%endfor%} {%endif%} {%if 'service' in p and len(p['service']) > 0%}

Service

{%for s in sorted(p['service'], key=doc_date_key, reverse=True)%}

{{s['name']}}

{{s.get('month', '')}} {{s['year']}}{%if 'duration' in s%}, Duration: {{s['duration']}}{%endif%} {%if 'description' in s%}
{{s['description']}}{%endif%}

{%endfor%} {%endif%} {%if len(projects) > 0%}

Projects


{%for proj in projects%}

{{proj['_id']}}

{%if 'logo' in proj%}
{%endif%} {%if 'description' in proj%}{{proj['description']}}{%endif%} {%endfor%} {%endif%}

Publications

{%if bibfile%}

[Download bibtex]

{%endif%}
    {% for pub in pubs %}
  1. {% set ae = pub.get('author', pub.get('editor', [])) %} {% for a in ae[:-1] %} {% if a in names %}{% endif %}{{a}}{% if a in names %}{% endif %}, {% endfor %} {% if len(ae) > 1 %} and {% endif %} {% set a = ae[-1] %} {% if a in names %}{% endif %}{{a}}{% if a in names %}{% endif %}. "{{pub.get('title', '')}}". {{pub.get('version', '')}} {{pub.get('journal', '')}} {{pub.get('booktitle', '')}}. {{pub.get('volume', '')}} {%- if pub['pages'] %} {{'p. ' + pub['pages']}} {%- else %} {{''}} {%- endif %} {{pub.get('address', '')}} {% if 'month' in pub and 'year' in pub %} {{pub['month'].capitalize()}} {{pub['year']}} {% elif 'year' in pub %} ({{pub['year']}}) {% endif %} {% if 'link' in pub %}link{% endif %} {% if 'url' in pub %}download{% endif %} {% if 'doi' in pub %}doi{% endif %}
  2. {% endfor %}
{%if 'teaching' in p and len(p['teaching']) > 0%}

Teaching Experience


{%for t in sorted(p['teaching'], key=date_key, reverse=True)%}

{{t['course']}}

{{t['organization']}}

{{t['position']}}, {{t.get('month', '')}} {{t['year']}} {%if 'end_year' in t%}- {{t.get('end_month', '')}} {{t['end_year']}}{%endif%} {%if 'description' in t%}
{{t['description']}}{%endif%} {%if 'website' in t%}[Website]{%endif%} {%if 'syllabus' in t%}[Syllabus]{%endif%} {%if 'video' in t%}[Video]{%endif%} {%if 'materials' in t%}[Course Materials]{%endif%}

{%endfor%} {%endif%} {%if 'membership' in p and len(p['membership']) > 0%}

Memberships


{%for m in sorted(p['membership'], key=date_key, reverse=True)%}

{{m['organization']}}

{{m['position']}}, {{m.get('begin_month', '')}} {{m['begin_year']}} - {{m.get('end_month', '')}} {{m.get('end_year', 'present')}} {%if 'description' in m%}
{{m['description']}}{%endif%} {%if 'website' in m%}[Website]{%endif%}

{%endfor%} {%endif%} {%if 'skills' in p and len(p['skills']) > 0%}

Skills


{%for cat, cgrp in groupby(p['skills'], key=category_val)%}

{{cat}}

{%endfor%} {%endif%} {% endblock content %} {% block footer %} {% endblock footer %}