rendercv init

This commit is contained in:
wi11-holdsworth 2025-09-18 11:06:17 +10:00
parent 2c7c63b22e
commit db074edafa
25 changed files with 835 additions and 0 deletions

View file

@ -0,0 +1,42 @@
((* if cv.photo *))
#two-col(
left-column-width: design-header-photo-width * 1.1,
right-column-width: 1fr,
left-content: [
#align(
left + horizon,
image("profile_picture.jpg", width: design-header-photo-width),
)
],
column-gutter: 0cm,
right-content: [
((* endif *))
((* if cv.name *))
= <<cv.name|escape_typst_characters>>
((* endif *))
// Print connections:
#let connections-list = (
((* for connection in cv.connections *))
[((*- if connection["url"] -*))
#box(original-link("<<connection["url"]>>")[
((*- endif -*))
((*- if design.header.use_icons_for_connections -*))
#fa-icon("<<connection["typst_icon"]>>", size: 0.9em) #h(0.05cm)
((*- endif -*))
((*- if design.header.use_icons_for_connections or not connection["url"] -*))
<<connection["placeholder"]|escape_typst_characters>>
((*- else -*))
<<connection["clean_url"]|escape_typst_characters>>
((*- endif -*))
((*- if connection["url"] -*))
])
((*- endif -*))],
((* endfor *))
)
#connections(connections-list)
((* if cv.photo *))
],
)
((* endif *))