page_head: Write content to the head of a website

View source: R/page_head.R

page_headR Documentation

Write content to the head of a website

Description

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

## Not run: 
page_head(title = "Site Name")

## End(Not run)

uva-bi-sdad/community documentation built on Oct. 12, 2023, 1:18 p.m.