Reads the _site.yml to render the _navbar.html and replaces the navbar title by the branding logos.

create_navbar(site_yml = file.path("site", "site.yml"), logo_img,
  show_title = FALSE, relative_to = NULL)

Arguments

site_yml

path to the `_site.yml` file.

logo_img

vector containing the path to the logo file(s).

show_title

boolean. If `TRUE`, the title will be shown next to the logo.

relative_to

relative path where main site files are located (`file.path(path, yaml_link)`): _e.g._ if navbar is used in a subfolder, adjust path to "..".