Build an argon page
argonPage(
...,
title = NULL,
description = NULL,
author = NULL,
navbar = NULL,
footer = NULL,
favicon = NULL,
analytics = NULL
)
Body content
App title.
Purpose.
Author.
Navbar.
Footer.
Website favicon. The png must be located in inst/images.
Website analytics such as Hotjar or google analytics. Must be wrapped in tagList or list. Moreover the script must be contained in a <script></script> tag: if it is not already the case, use tags$script.
if(interactive()){
library(argonR)
argonPage(
title = "ArgonR Static Template",
author = "Somebody",
description = "HTML Static Template",
navbar = argonNavbar(id = "navbar"),
footer = argonFooter(),
# main content
argonSection(),
argonSection(),
argonSection(),
argonSection(),
argonSection()
)
}