Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

feat(cvEntry): add url to link to ~company~ society #27

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions template.typ
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
description: "Description",
logo: "",
tags: (),
url: "",
) = {
let ifSocietyFirst(condition, field1, field2) = {
return if condition { field1 } else { field2 }
Expand All @@ -315,6 +316,9 @@
let setLogoContent(path) = {
return if logo == "" [] else { image(path, width: 100%) }
}
if url != "" {
society = link(url)[#society]
}
v(beforeEntrySkip)
table(
columns: (ifLogo(logo, 4%, 0%), 1fr),
Expand Down