create_navbar: Create a navbar with the branding logos

Description Usage Arguments

View source: R/navbar.R

Description

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

Usage

1
2
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 "..".


koncina/bs2site documentation built on Sept. 23, 2019, 6:54 p.m.