Creates a series of <meta>
tags for the app's <head>
.
Usage
app_meta(
package = "gmhleasr",
app_name = "GMH Leasing Dashboard",
app_version = utils::packageVersion("gmhleasr"),
description = desc::desc_get("Description")[[1]],
url = "https://noclocks.dev",
theme_color = "#0073AA",
robots = "index,follow",
generator = "RShiny",
subject = "GMH Leasing Dashboard",
rating = "General",
referrer = "origin",
csp = "default-src 'self'",
image = "https://cdn.brandfetch.io/noclocks.dev/symbol",
image_alt = "No Clocks, LLC Logo",
twitter_creator = "@noclocksdev",
twitter_card_type = "summary_large_image",
twitter_site = "@noclocksdev",
...
)
Arguments
- package
Name of the package
- app_name
Name of the app
- app_version
Version of the app
- description
Description of the app
- url
URL of the app
- theme_color
Theme color of the app
- robots
Robots.txt policy
- generator
Generator of the app
- subject
Subject of the app
- rating
Rating of the app
- referrer
Referrer policy
- csp
Content Security Policy
- image
Image URL
- image_alt
Image alt text
- twitter_creator
Twitter creator
- twitter_card_type
Twitter card type
- twitter_site
Twitter site
- ...
Additional arguments (currently unused)
Value
Raw <meta>
tags via metathis::meta()
(to be passed into the
app's <head>
)