Regarding MKDocs, is it possible to set a global variable from within a page? My intent is to have a start page with a drop down menu. The global variables to be referenced by other pages will set based on the user’s selection.
{% set myvar = ‘some-value’ %} – this is only referable from the local page.
New contributor
Robb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.