/ typst / sections / experience.typ
experience.typ
 1  // Relevant Experience section
 2  
 3  #import "../styles.typ": *
 4  
 5  #let experience(entries) = {
 6    section-heading("Relevant Experience")
 7  
 8    for (i, e) in entries.enumerate() {
 9      let render-entry() = {
10        entry-header(e.title, e.location, first: i == 0)
11        if "institution" in e { entry-institution(e.institution) }
12        entry-position(e.position, e.date)
13        if "description" in e { entry-description(e.description) }
14      }
15      if i == 0 { render-entry() } else {
16        block(breakable: false, render-entry())
17      }
18    }
19  }