summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-10-30 03:14:53 +0000
committerjao <jao@gnu.org>2022-10-30 03:14:53 +0000
commit56a2e3326322c9c464519087c217e8c18539d1bf (patch)
treea17028c1ab9986d1015353d3d67655396cad283f /custom
parentc42e2c8b29aae4f4b2679caeab88e768d2a08371 (diff)
downloadelibs-56a2e3326322c9c464519087c217e8c18539d1bf.tar.gz
elibs-56a2e3326322c9c464519087c217e8c18539d1bf.tar.bz2
blog: more compact html preview tags
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-blog.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/custom/jao-custom-blog.el b/custom/jao-custom-blog.el
index 6ae4544..d7e03f1 100644
--- a/custom/jao-custom-blog.el
+++ b/custom/jao-custom-blog.el
@@ -126,11 +126,9 @@
(geiser-default-implementation 'guile))
(org-static-blog-publish-file fname)))
-(defconst jao-org-static-blog--prev-beg
- "#+begin_export html\n <!-- preview-start -->\n#+end_export ")
+(defconst jao-org-static-blog--prev-beg "#+html: <!-- preview-start -->")
-(defconst jao-org-static-blog--prev-end
- "#+begin_export html\n <!-- preview-end -->\n#+end_export ")
+(defconst jao-org-static-blog--prev-end "#+html: <!-- preview-end -->")
(defun jao-org-static-blog-create-new-post (&optional draft)
(interactive)