Skip to content

Commit

Permalink
Correction for when there are no links provided
Browse files Browse the repository at this point in the history
  • Loading branch information
OJWatson committed Nov 25, 2024
1 parent 5383c8d commit 004112a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
7 changes: 6 additions & 1 deletion _helpers/make_participants.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ make_qmd <- function(headshot,
return(NULL)
} else {
return(
if (name == "googlescholar") name <- "Google Scholar"
if (name == "personal") name <- "Personal Website"
make_link_three(icon = name, text = stringr::str_to_title(name), href = x)
)
}
Expand All @@ -79,6 +81,9 @@ make_qmd <- function(headshot,
parse_link(personal),
parse_link(github)
)
if (is.null(ll2)) {
ll$links <- NULL
}

# make the end list
ll3 <- list(
Expand All @@ -97,7 +102,7 @@ pages <- list("jd" = make_qmd(headshot = to_add[1], role = "Organiser",
googlescholar = "https://scholar.google.com/citations?user=L1I0WJkAAAAJ&hl=en",
linkedin = "https://www.linkedin.com/in/jeanette-dawa/"),
"ko" = make_qmd(headshot = to_add[2], role = "Organiser",
bio = "Kemunto is a communications professional working for the Center for Epidemiological Modeling and Analysis (CEMA) in the Health Communications department."),
bio = "Kemunto is a communications professional working for the Center for Epidemiological Modelling and Analysis (CEMA) in the Health Communications department."),
"mn" = make_qmd(headshot = to_add[3], role = "Organiser",
bio = "Mutono is a data scientist currently using applied epidemiological modelling techniques to provide evidence for control and elimination of Neglected Tropical Diseases.",
googlescholar = "https://scholar.google.com/citations?user=DE4gTQYAAAAJ&hl=en"),
Expand Down
4 changes: 2 additions & 2 deletions participants/jeanette-dawa.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ about:
- icon: linkedin
text: Linkedin
href: https://www.linkedin.com/in/jeanette-dawa/
- icon: googlescholar
text: Googlescholar
- icon: google
text: Google Scholar
href: https://scholar.google.com/citations?user=L1I0WJkAAAAJ&hl=en
---

Expand Down
3 changes: 1 addition & 2 deletions participants/kemunto-ogutu.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ categories:
- Organiser
about:
template: jolla
links:
---

Kemunto is a communications professional working for the Center for Epidemiological Modeling and Analysis (CEMA) in the Health Communications department.
Kemunto is a communications professional working for the Center for Epidemiological Modelling and Analysis (CEMA) in the Health Communications department.
2 changes: 1 addition & 1 deletion participants/oliver-watson.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ about:
template: jolla
links:
- icon: twitter
text: twitter
text: Twitter
href: https://x.com/ojwatson92
- icon: github
text: Github
Expand Down
4 changes: 2 additions & 2 deletions participants/paula-christen.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ about:
template: jolla
links:
- icon: twitter
text: twitter
text: Twitter
href: https://x.com/paulachristen
- icon: github
text: Github
href: https://github.com/paulachristen
- icon: linkedin
text: linkedin
text: Linkedin
href: https://www.linkedin.com/in/paula-christen/
---

Expand Down

0 comments on commit 004112a

Please sign in to comment.