diff options
-rw-r--r-- | local.css | 2 | ||||
-rw-r--r-- | templates/page.tmpl | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -19,7 +19,7 @@ h1 { font-weight: bold } .pageheader { border: none } -#content { +body.has-sidebar #content { max-width: 38rem; margin: 0; line-height: 1.5; 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> |