+
Instructor: {{ =instructor_name}}
+ +{% endraw %} {% if dynamic_pages == 'True' %} {% raw %} {{ if settings.num_banners > 0 and settings.show_rs_banner: }} diff --git a/runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/static/layout.js b/runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/static/layout.js new file mode 100644 index 000000000..0989c737f --- /dev/null +++ b/runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/static/layout.js @@ -0,0 +1,14 @@ +function renderinstitution_name(){ + myword = document.getElementById("institution2").textContent; + let noinstitution; + + if (myword == "None" ) { + noinstitution = ""; + } + else { + noinstitution = myword; + } + + + document.getElementById("institution2").innerHTML = noinstitution; +} \ No newline at end of file