summaryrefslogtreecommitdiff
path: root/layout/layout.ejs
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-22 20:59:07 +0800
committerDoge <[email protected]>2021-05-22 20:59:07 +0800
commit05a646a7ef4b001fd4cb314173812d0674a5a0ea (patch)
tree0b0be3b1645a1c0443bba5f95851cad703447e31 /layout/layout.ejs
parentc2da19e13d5b38c465192c0d4ac0437c01c4fb22 (diff)
downloadchromate-05a646a7ef4b001fd4cb314173812d0674a5a0ea.tar.gz
chromate-05a646a7ef4b001fd4cb314173812d0674a5a0ea.tar.bz2
chromate-05a646a7ef4b001fd4cb314173812d0674a5a0ea.zip
Add site boardcast support with mourn mode
Diffstat (limited to 'layout/layout.ejs')
-rw-r--r--layout/layout.ejs6
1 files changed, 5 insertions, 1 deletions
diff --git a/layout/layout.ejs b/layout/layout.ejs
index db6dfb5..62c04c3 100644
--- a/layout/layout.ejs
+++ b/layout/layout.ejs
@@ -1,5 +1,9 @@
<!DOCTYPE html>
-<html lang="<%= config.language %>">
+<% if (theme.mourn) { %>
+ <html lang="<%= config.language %>" id="mourn">
+<% } else { %>
+ <html lang="<%= config.language %>">
+<% } %>
<%- partial('_partial/head') %>
<body>
<%- partial('_partial/header') %>