File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 // 3. BODY RENDERER
9292 body
9393}
94- // Add this at the bottom of templates/base-cv.typ
9594
96- # let generate_experience (yaml_data ) = {
95+ // ==========================================
96+ // EXPERIENCE GENERATION (FIXED)
97+ // ==========================================
9798
98- for job in yaml_data . experience [
99- # resume_entry (
99+ # let generate_experience (yaml_data ) = {
100+ // Use { } for code blocks, not [ ]
101+ for job in yaml_data . experience {
102+ resume_entry (
100103 job . title ,
101104 job . dates ,
102105 job . company ,
103106 job . location ,
107+ // This [ ] is correct - it's content inside the function call
104108 [
105109 # for bullet in job . bullets [
106110 - # bullet
107111 ]
108112 ]
109113 )
110- ]
114+ }
111115}
112116
113- # let generate_education (yaml_data ) = {
117+ // ==========================================
118+ // EDUCATION GENERATION (FIXED)
119+ // ==========================================
114120
115- for edu in yaml_data . education [
116- # resume_entry (
121+ # let generate_education (yaml_data ) = {
122+ // Use { } for code blocks, not [ ]
123+ for edu in yaml_data . education {
124+ resume_entry (
117125 edu . degree ,
118126 edu . dates ,
119127 edu . university ,
120128 edu . location ,
129+ // This [ ] is correct - it's content inside the function call
121130 [
122131 - *Modules:* # edu . modules
123132 ]
124133 )
125- ]
134+ }
126135}
You can’t perform that action at this time.
0 commit comments