Generate metadata tags for general website properties.
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)
.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.
|
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.
Other meta:
meta_apple_itunes_app()
,
meta_apple_web_app()
,
meta_geo()
,
meta_name()
,
meta_social()
,
meta_tag()
,
meta_viewport()
,
meta()
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" )#> <meta name="application-name" content="Application Name"/> #> <meta name="theme-color" content="#4285f4"/> #> <meta name="description" content="A description of this page"/> #> <meta name="robots" content="index,follow"/> #> <meta name="generator" content="R-Shiny"/> #> <meta name="subject" content="Awesome R projects"/> #> <meta name="rating" content="General"/> #> <meta name="referrer" content="no-referrer"/>