From af1405776e4d79658eed7f1fbd7110ed5f9bfcfa Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 22 Oct 2023 08:47:06 -0400 Subject: template intro --- emacsconf-pad.el | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/emacsconf-pad.el b/emacsconf-pad.el index 7bcb8c2..2a5a40d 100644 --- a/emacsconf-pad.el +++ b/emacsconf-pad.el @@ -147,12 +147,17 @@ You can find it in $ETHERPAD_PATH/APIKEY.txt" (append (list :base-url emacsconf-base-url :channel (concat "emacsconf-" (plist-get (emacsconf-get-track (plist-get o :track)) :id)) :bbb-info - (cond - ((null (plist-get o :q-and-a)) - "
Q&A: none
") - ((string-match "live" (plist-get o :q-and-a)) - (format "
Q&A room: %s
" (plist-get o :bbb-redirect))) - (t "
Q&A: IRC
")) + (pcase (plist-get o :q-and-a) + ('nil "
Q&A: none
") + ((rx "live") + (format "
Q&A room: %s
" (plist-get o :bbb-redirect))) + ((rx "pad") + (format "
Q&A: Etherpad
")) + ((rx "irc") + (format "
Q&A: IRC (%s)
" (plist-get o :webchat-url))) + ((rx "after") + (format "
Q&A: after the event
")) + (_ "
Q&A: none
")) :next-talk-list (if (plist-get o :next-talks) (concat "
Next talks:\n