Adding icons on Xaringan title slide

Is it possible to add an icon to the title slide in Xaringan? I want to add the Twitter icon from Font Awesome before my Twitter handle in the author entry of the YAML file. When I add the following (surrounded by backticks) r icons::fontawesome$brands$twitter to the author entry, I receive the following error:
Error in yaml::yaml.load(..., eval.expr = TRUE) : Parser error: while parsing a block mapping at line 1, column 1 did not find expected key at line 4, column 22 Calls: <Anonymous> ... parse_yaml_front_matter -> yaml_load -> <Anonymous>
This code works fine on subsequent slides but not the title slide. And adding other R code (e.g., r Sys.Date()) to the author entry on the title slide works fine. Is there a way to get icons on the title slide?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.