Skip to contents

Adds to the <head> tag of a page being build with site_build.

Usage

page_head(..., title = "", description = "", icon = "")

Arguments

...

Content to be added to the <head> tag, such as a <meta> or <link> tag.

title

Text to appear as the site's name (as in a browser tab); added to a <title> tag.

description

Text describing the site; added to a <meta> tag.

icon

Path to an image for the site's icon.

Value

A character vector of the content to be added.

Examples

if (FALSE) {
page_head(title = "Site Name")
}