summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-11-22 20:32:46 -0500
committerSacha Chua <sacha@sachachua.com>2021-11-22 20:32:46 -0500
commitd96794493cc4ee2939b461f84a4029d5b92c1400 (patch)
treec739653bb1e85b498fb391703cdfde084b4dae2d /templates
parentd9d5c53b6a1d1bbf380661e77969abf2b3c8f18e (diff)
downloademacsconf-wiki-d96794493cc4ee2939b461f84a4029d5b92c1400.tar.xz
emacsconf-wiki-d96794493cc4ee2939b461f84a4029d5b92c1400.zip
Make sidebar optional
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 6df947c6..d6cd9e3e 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -107,7 +107,7 @@
// @license-end
</script>
</head>
-<body>
+<body <TMPL_IF SIDEBAR>class="has-sidebar"</TMPL_IF>>
<TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
@@ -304,6 +304,9 @@ Last edited <TMPL_VAR MTIME>
transcriptDiv.appendChild(transcriptLink)
if (resources) { resources.prepend(transcriptDiv); }
}
+ if (document.querySelector('.chat-iframe')) {
+ document.querySelector('.chat-iframe').innerHTML = '<iframe src="https://chat.emacsconf.org" height="600" width="100%"></iframe>';
+}
// @license-end
</script>
</body>