headR::add_og_card(card_type = "website",
                   title = "Ants are cool",
                   image = "https://www.jumpingrivers.com/rpackages/headr/vignettes/ant.jpg",
                   url = "https://www.jumpingrivers.com/rpackages/headr/vignettes/",
                   description = "Ants evolved from wasp-like ancestors in the Cretaceous period,
                   about 140 million years ago, and diversified after
                   the rise of flowering plants",
                   file = "ants.html")

Ants are cool

Ants evolved from wasp-like ancestors in the Cretaceous period, about 140 million years ago, and diversified after the rise of flowering plants

The code to produce html file containing the meta tags in the header is below. To go back to the headR GitHub page.

headR::add_og_card(card_type = "website",
                   title = "Ants are cool",
                   image = "https://www.jumpingrivers.com/rpackages/headr/vignettes/ant.jpg",
                   url = "https://www.jumpingrivers.com/rpackages/headr/vignettes/",
                   description = "Ants evolved from wasp-like ancestors in the Cretaceous period,
                   about 140 million years ago, and diversified after
                   the rise of flowering plants",
                   file = "ants.html")


jumpingrivers/headR documentation built on May 7, 2022, 2:22 a.m.