summaryrefslogtreecommitdiff
path: root/layout/index.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/index.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/index.ejs')
-rw-r--r--layout/index.ejs11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/index.ejs b/layout/index.ejs
index 106b7f4..239edaa 100644
--- a/layout/index.ejs
+++ b/layout/index.ejs
@@ -1,3 +1,14 @@
+<% if (theme.boardcast.enable) { %>
+ <div class="columns">
+ <div class="column is-8 is-offset-2">
+ <article class="message is-<%- theme.boardcast.color %>">
+ <div class="message-body">
+ <%= theme.boardcast.message %>
+ </div>
+ </article>
+ </div>
+ </div>
+<% } %>
<% page.posts.each(function (post) { %>
<div class="columns">
<div class="column is-8 is-offset-2">