meta_general {metathis} | R Documentation |
General Metadata Tags
Description
Generate metadata tags for general website properties.
Usage
meta_general(
.meta = meta(),
application_name = NULL,
theme_color = NULL,
description = NULL,
robots = NULL,
generator = NULL,
subject = NULL,
rating = NULL,
referrer = NULL
)
meta_description(.meta = meta(), description)
meta_subject(.meta = meta(), subject)
meta_referrer(.meta = meta(), referrer)
meta_robots(.meta = meta(), robots)
meta_theme_color(.meta = meta(), theme_color)
Arguments
.meta |
A |
application_name |
Name of web application (only should be used if the website is used as an app). |
theme_color |
Theme Color for Chrome, Firefox OS and Opera, e.g.
|
description |
Short description of the document (limit to 150 characters), This content may be used as a part of search engine results. |
robots |
Control the behavior of search engine crawling and indexing,
e.g. See https://www.robotstxt.org/meta.html for more information. |
generator |
Identify the software used to build the document (i.e. - WordPress, Dreamweaver). |
subject |
Short description of your document's subject. |
rating |
Gives a general age rating based on the document's content,
e.g. |
referrer |
Allows control over how referrer information is passed, .e.g.
|
Value
A meta
object, or a set of <meta>
HTML tags inside an HTML
<head>
tag. For use in rmarkdown::html_document()
, shiny::runApp()
,
or other HTML locations.
See Also
Other meta:
meta_apple_itunes_app()
,
meta_apple_web_app()
,
meta_geo()
,
meta_google_scholar()
,
meta_name()
,
meta_social()
,
meta_tag()
,
meta_viewport()
,
meta()
Examples
meta() %>%
meta_general(
application_name = "Application Name",
theme_color = "#4285f4",
description = "A description of this page",
robots = "index,follow",
generator = "R-Shiny",
subject = "Awesome R projects",
rating = "General",
referrer = "no-referrer"
)