rendercv init
This commit is contained in:
parent
2c7c63b22e
commit
db074edafa
25 changed files with 835 additions and 0 deletions
42
engineeringresumes/Header.j2.typ
Normal file
42
engineeringresumes/Header.j2.typ
Normal 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 *))
|
||||
Loading…
Add table
Add a link
Reference in a new issue