-
Notifications
You must be signed in to change notification settings - Fork 1
HTML Templating Variables
Timo edited this page Nov 7, 2023
·
6 revisions
This page explains templating variables that are recognized by the documentation script and the outputs the script will generate when these are encountered.
- {{audio}}: The audio URL of an identified audio file
- {{baselayers}}: The baselayers which are used as background layers behind the Leaflet map in the map template
- {{baseurl}}: The baseurl of the deployed page
- {{bibtex}}: Renders a bibtex dropdown if the script has identified bibliographic information for the current subjectg
- {{classtreefolderpath}}: The location of the generated file classtree_DATASETNAME.js which contains the data for rendering the classtree
- {{epsg}}: The EPSG code to identify the coordinate reference system of the geodata to be displayed in the map view
- {{epsgdefspath}}: The path to "js/epsgdefs.js"
- {{iconprefixx}}: The prefix of the icon path which is used to load classtree icons
- {{indexpage}}: Indicates if the current page is used to describe a subject or is used as an overview page
- {{license}}: The license under which the data deployment is released. (Rendered as image if a CC-License)
- {{logo}}: An HTML element which can serve as the page logo
- {{myfeature}}: The GeoJSON deployment of a subject with a geometry representation
- {{publisher}}: A text or HTML string which identifies the publisher of the current HTML deployment
- {{publishingorg}}: A text or HTML string which identifies the publishing organization of the current HTML deployment
- {{proprelationpath}}: The location of the generated file proprelations.js, which contains the data for relations between instances
- {{relativedepth}}: The depth of the current page relative to the baseurl measured by the amount for folders
- {{subject}}: The URI of the subject for which the current HTML page is rendered
- {{startscriptpath}}: The path to "js/startscripts.js"
- {{stylepath}}: The path to "css/style.css"
- {{video}}: The video URL of an identified video file
- {{title}}: The title of the HTML deployment