summaryrefslogtreecommitdiffstats
path: root/wiki-publish/templates
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-16 18:07:51 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-16 18:08:11 -0400
commit84ccb907a14bd8bd06afec7b5ac836fa7a0883f6 (patch)
tree2168d05fed72017dd4b8463ec1bb86fc0a93f11a /wiki-publish/templates
parent1b0f1181a1b5995f6aed69efffebfc768d51b734 (diff)
downloademacsconf-ansible-84ccb907a14bd8bd06afec7b5ac836fa7a0883f6.tar.xz
emacsconf-ansible-84ccb907a14bd8bd06afec7b5ac836fa7a0883f6.zip
Try to separate wiki-publish and wiki-edit
Diffstat (limited to '')
-rw-r--r--wiki-publish/templates/emacsconf-config.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/wiki-publish/templates/emacsconf-config.el b/wiki-publish/templates/emacsconf-config.el
new file mode 100644
index 0000000..53ffe64
--- /dev/null
+++ b/wiki-publish/templates/emacsconf-config.el
@@ -0,0 +1,19 @@
+(add-to-list 'load-path "{{ emacsconf_el_dir }}")
+(require 'emacsconf)
+(require 'emacsconf-publish)
+(require 'emacsconf-schedule)
+(org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (shell . t)))
+(setq emacsconf-year "{{ emacsconf_year }}")
+(setq emacsconf-org-file "{{ emacsconf_org_file }}")
+(setq emacsconf-directory "{{ emacsconf_edit_wiki_dir }}")
+{% if emacsconf_streaming_nick is defined %}
+(setq emacsconf-streaming-nick "{{ emacsconf_streaming_nick }}")
+{% endif %}
+{% if emacsconf_org_tag is defined %}
+(setq emacsconf-org-tag "{{ emacsconf_org_tag }}")
+{% endif %}
+{% if emacsconf_ansible_directory is defined %}
+(setq emacsconf-ansible-directory "{{ emacsconf_ansible_directory }}")
+{% endif %}
+(setq emacsconf-pad-api-key "{{ etherpad_api_key }}")
+(setq emacsconf-publishing-phase '{{ emacsconf_publishing_phase }})