
Set the necessary common global variables for use in the {varnish} template.
Source: R/utils-varnish.R
set_globals.RdThis will enforce four global lists:
Details
.resources, which is equivalent to the output ofget_resource_list()this_metadata, which contains the metadata common for the lessonlearner_globalsthe navigation items for the learnersinstructor_globalsthe namvigation items for the instructors
The things that are added:
sidebarThis is generated fromcreate_sidebar()and is the same in the learner and instructor globals with the exception of the first element.moreThis is the "More" dropdown menu, which is created viacreate_resources_dropdown().resourcesThe same as "More", but positioned on the mobile sidebar.{sandpaper,varnish,pegboard}_versionpackage versions of each package.