Skip to content

Commit

Permalink
Merge pull request #11 from stuxf/optional-link
Browse files Browse the repository at this point in the history
feat: make URL optional (projects, certificates)
  • Loading branch information
stuxf authored Nov 11, 2024
2 parents a44bf95 + f4de0f2 commit ad3e83f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Basic Resume Changelog

## [v0.1.4](hhttps://github.com/stuxf/basic-typst-resume-template/releases/tags/v0.1.2)

Make more resume fields optional (links in projects and certs)

## [v0.1.3](hhttps://github.com/stuxf/basic-typst-resume-template/releases/tags/v0.1.2)

Allow for changing of fonts via initial configuration
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Basic Resume

<div align="center">Version 0.1.3</div>
<div align="center">Version 0.1.4</div>

This is a template for a simple resume. It is intended to be used as a good starting point for quickly crafting a standard resume that will properly be parsed by ATS systems. Inspiration is taken from [Jake's Resume](https://github.com/jakegut/resume) and [guided-resume-starter-cgc](https://typst.app/universe/package/guided-resume-starter-cgc/). I'm currently a college student and was unable to find a Typst resume template that fit my needs, so I wrote my own. I hope this template can be useful to others as well.

Expand All @@ -13,7 +13,7 @@ This is a template for a simple resume. It is intended to be used as a good star
A barebones resume looks like this, which you can use to get started.

```typst
#import "@preview/basic-resume:0.1.3": *
#import "@preview/basic-resume:0.1.4": *
// Put your personal information here, replacing mine
#let name = "Stephen Xu"
Expand Down
12 changes: 10 additions & 2 deletions src/resume.typ
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,11 @@
dates: "",
) = {
pad[
*#role*, #name (#link("https://" + url)[#url]) #h(1fr) #dates
*#role*, #name
#if url != "" {
[ (#link("https://" + url)[#url])]
}
#h(1fr) #dates
]
}

Expand All @@ -181,7 +185,11 @@
date: "",
) = {
pad[
*#name*, #issuer (#link("https://" + url)[#url]) #h(1fr) #date
*#name*, #issuer
#if url != "" {
[ (#link("https://" + url)[#url])]
}
#h(1fr) #date
]
}

Expand Down
12 changes: 10 additions & 2 deletions template/main.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/basic-resume:0.1.3": *
#import "@preview/basic-resume:0.1.4": *

// Put your personal information here, replacing mine
#let name = "Stephen Xu"
Expand All @@ -11,7 +11,7 @@

#show: resume.with(
author: name,
// All the lines below are optional.
// All the lines below are optional.
// For example, if you want to to hide your phone number:
// feel free to comment those lines out and they will not show.
location: location,
Expand All @@ -31,6 +31,7 @@
* #edu(dates: "", degree: "", gpa: "", institution: "", location: "")
* #work(company: "", dates: "", location: "", title: "")
* #project(dates: "", name: "", role: "", url: "")
* certificates(name: "", issuer: "", url: "", date: "")
* #extracurriculars(activity: "", dates: "")
* There are also the following generic functions that don't apply any formatting
* #generic-two-by-two(top-left: "", top-right: "", bottom-left: "", bottom-right: "")
Expand Down Expand Up @@ -96,6 +97,7 @@
role: "Maintainer",
name: "Hyperschedule",
dates: dates-helper(start-date: "Nov 2023", end-date: "Present"),
// URL is optional
url: "hyperschedule.io",
)
- Maintain open-source scheduler used by 7000+ users at the Claremont Consortium with TypesScript, React and MongoDB
Expand All @@ -119,6 +121,12 @@
// )
// - Volunteer and write tests for tournaments, including LA Regionals and SoCal State \@ Caltech

// #certificates(
// name: "OSCP",
// issuer: "Offensive Security",
// // url: "",
// date: "Oct 2024",
// )
== Skills and Awards
- *Programming Languages*: JavaScript, Python, C/C++, HTML/CSS, Java, Bash, R, Flutter, Dart
- *Technologies*: React, Astro, Svelte, Tailwind CSS, Git, UNIX, Docker, Caddy, NGINX, Google Cloud Platform
Expand Down
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[package]
name = "basic-resume"
version = "0.1.3"
version = "0.1.4"
entrypoint = "src/lib.typ"
authors = ["Stephen Xu <https://stuxf.dev>"]
license = "Unlicense"
Expand Down

0 comments on commit ad3e83f

Please sign in to comment.