summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-12-13 23:41:37 -0500
committerSacha Chua <sacha@sachachua.com>2021-12-13 23:41:37 -0500
commitbf31d79b0e11b1ed85b1abd4f47099f80238ba8f (patch)
tree8311096f38855ee36268713cfb466873d44323c6
parent2820b952d76f27e8b2709eb0efb41760503b31fc (diff)
downloademacsconf-wiki-bf31d79b0e11b1ed85b1abd4f47099f80238ba8f.tar.xz
emacsconf-wiki-bf31d79b0e11b1ed85b1abd4f47099f80238ba8f.zip
Let's try a help template
-rw-r--r--2021/talks/clede.md8
-rw-r--r--templates/help.md12
2 files changed, 18 insertions, 2 deletions
diff --git a/2021/talks/clede.md b/2021/talks/clede.md
index f578d32a..1a9889bf 100644
--- a/2021/talks/clede.md
+++ b/2021/talks/clede.md
@@ -8,10 +8,14 @@
# CLEDE the Common Lisp Emacs Development Environment.
Fermin MF
-
-
[[!inline pages="internal(2021/info/clede-schedule)" raw="yes"]]
+[[!template id="help" tags="main_captions" message="""
+This talk does not have captions yet. Would you like to help [caption this talk](/2021/contribute/#edit-captions)? You may be able to start with these
+[emacsconf-2021-clede--clede-the-common-lisp-emacs-development-environment--fermin-mf--main.vtt](autogenerated captions)
+and [emacsconf-2021-clede--clede-the-common-lisp-emacs-development-environment--fermin-mf.en.srv2](timing information).
+"""]]
+
I've been developing a package that helps with the development of
Common Lisp's software,
it's uses the internal semantic framework, it has a custom reader
diff --git a/templates/help.md b/templates/help.md
new file mode 100644
index 00000000..b294675f
--- /dev/null
+++ b/templates/help.md
@@ -0,0 +1,12 @@
+<div class="help">
+<TMPL_IF main_captions>
+This talk does not have captions yet. Would you like to help [caption this talk](/2021/contribute/#edit-captions)? You may be able to start with these
+[auto-generated captions](<TMPL_VAR main_captions>).
+</TMPL_IF>
+<TMPL_IF qa>
+Want to help make the Q&A session easier to search? You can [add chapter markers](/2021/contribute/#chapter-markers) or [edit the captions](/2021/contribute/#edit-captions), maybe starting with these
+[auto-generated captions](<TMPL_VAR qa>).
+</TMPL_IF>
+<TMPL_VAR message>
+[[!tag help <TMPL_VAR tags>]]
+</div>