diff options
author | Doge <[email protected]> | 2021-05-22 20:59:07 +0800 |
---|---|---|
committer | Doge <[email protected]> | 2021-05-22 20:59:07 +0800 |
commit | 05a646a7ef4b001fd4cb314173812d0674a5a0ea (patch) | |
tree | 0b0be3b1645a1c0443bba5f95851cad703447e31 /layout/index.ejs | |
parent | c2da19e13d5b38c465192c0d4ac0437c01c4fb22 (diff) | |
download | chromate-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.ejs | 11 |
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"> |