Skip to content

Commit 0114e54

Browse files
minor fixes for GHA
1 parent 8b59c63 commit 0114e54

7 files changed

Lines changed: 22 additions & 23 deletions

File tree

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,7 @@ YAML.
6060

6161
``` yaml
6262
brand:
63-
typography:
64-
fonts:
65-
- family: Roboto
66-
source: google
67-
- family: Source Sans 3
68-
source: google
63+
typography:
6964
base: Source Sans 3
7065
color:
7166
primary: "#516db0"
@@ -128,8 +123,8 @@ resume_entry(educ)
128123
```
129124

130125
```{=typst}
131-
#resume-entry(title: "Ph.D. in Physics",location: "Zürich, Switzerland",date: "1905",description: "University of Zürich",)
132-
#resume-entry(title: "Master of Science",location: "Zürich, Switzerland",date: "1896 - 1900",description: "ETH",)
126+
#resume-entry(title: [Ph.D. in Physics],location: [Zürich, Switzerland],date: [1905],description: [University of Zürich],)
127+
#resume-entry(title: [Master of Science],location: [Zürich, Switzerland],date: [1896 - 1900],description: [ETH],)
133128
```
134129

135130
``` r
@@ -146,7 +141,7 @@ resume_entry(award, details = c("detail1", "detail2"))
146141
```
147142

148143
```{=typst}
149-
#resume-entry(title: "Nobel Prize in Physics",location: "Stockholm, Sweden",date: "1921",description: "For his services to",)
144+
#resume-entry(title: [Nobel Prize in Physics],location: [Stockholm, Sweden],date: [1921],description: [For his services to],)
150145
#resume-item[
151146
- Theoretical Physics
152147
- Discovery of the law of the photoelectric effect
@@ -176,7 +171,7 @@ work |>
176171
```
177172

178173
```{=typst}
179-
#resume-entry(title: "Associate Professor",location: "Zürich, Switzerland",date: "1909 - 1911",description: "University of Zürich",)
180-
#resume-entry(title: "Junior Professor",location: "Bern, Switzerland",date: "1908 - 1909",description: "University of Bern",)
181-
#resume-entry(title: "Technical Assistant",location: "Bern, Switzerland",date: "1902 - 1908",description: "Federal Patent Office",)
174+
#resume-entry(title: [Associate Professor],location: [Zürich, Switzerland],date: [1909 - 1911],description: [University of Zürich],)
175+
#resume-entry(title: [Junior Professor],location: [Bern, Switzerland],date: [1908 - 1909],description: [University of Bern],)
176+
#resume-entry(title: [Technical Assistant],location: [Bern, Switzerland],date: [1902 - 1908],description: [Federal Patent Office],)
182177
```

README.qmd

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,7 @@ You can set fonts and the accent color by [_brand.yml](https://quarto.org/docs/a
7272

7373
```yaml
7474
brand:
75-
typography:
76-
fonts:
77-
- family: Roboto
78-
source: google
79-
- family: Source Sans 3
80-
source: google
75+
typography:
8176
base: Source Sans 3
8277
color:
8378
primary: "#516db0"

_extensions/awesomecv/typst-template.typ

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "@preview/fontawesome:0.6.0": *
1+
#import "@preview/fontawesome:0.5.0": *
22

33
//------------------------------------------------------------------------------
44
// Style
@@ -29,7 +29,7 @@
2929
#if parts.len() == 2 {
3030
fa-icon(parts.at(1), fill: color-darknight)
3131
} else if parts.len() == 3 and parts.at(1) == "brands" {
32-
fa-icon(parts.at(2), font: "Font Awesome 7 Brands", fill: color-darknight)
32+
fa-icon(parts.at(2), font: "Font Awesome 6 Brands", fill: color-darknight)
3333
} else {
3434
assert(false, "Invalid fontawesome icon string")
3535
}

assets/img/thumbnail.png

1.12 KB
Loading

renv.lock

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@
922922
},
923923
"typstcv": {
924924
"Package": "typstcv",
925-
"Version": "0.0.2.2",
925+
"Version": "0.0.2.4",
926926
"Source": "Repository",
927927
"Type": "Package",
928928
"Title": "CV for Quarto & Typst",
@@ -938,6 +938,9 @@
938938
"Roxygen": "list(markdown = TRUE)",
939939
"RoxygenNote": "7.3.2",
940940
"Repository": "https://kazuyanagimoto.r-universe.dev",
941+
"RemoteUrl": "https://github.com/kazuyanagimoto/typstcv",
942+
"RemoteRef": "HEAD",
943+
"RemoteSha": "d6d55170e7c7e958e54e96f13cf9f0d70ed7f759",
941944
"NeedsCompilation": "no",
942945
"Author": "Kazuharu Yanagimoto [aut, cre] (ORCID: <https://orcid.org/0009-0007-1967-8304>)",
943946
"Maintainer": "Kazuharu Yanagimoto <kazuharu.yanagimoto@gmail.com>"

template-typstcv.qmd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ brand:
3434
fonts:
3535
- family: Roboto
3636
source: google
37+
weight: [100, 400, 700]
3738
- family: Source Sans 3
3839
source: google
40+
weight: [100, 400, 700]
41+
style: [normal, italic]
3942
base: Source Sans 3
4043
color:
4144
primary: "#dc3522"
@@ -71,8 +74,8 @@ resume_entry(pub)
7174
```{r}
7275
#| output: asis
7376
work |>
74-
format_date(end = "end", date_format = "%Y", sort_by = "start") |>
75-
resume_entry()
77+
format_date(end = "end", date_format = "%Y", sort_by = "start") |>
78+
resume_entry()
7679
```
7780

7881
## Awards

template.qmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ brand:
3030
fonts:
3131
- family: Roboto
3232
source: google
33+
weight: [100, 400, 700]
3334
- family: Source Sans 3
3435
source: google
36+
weight: [100, 400, 700]
37+
style: [normal, italic]
3538
base: Source Sans 3
3639
color:
3740
primary: "#dc3522"

0 commit comments

Comments
 (0)