Fixed 2 issues on demo/example.org.

1). use relative path in SETUPFILE
2). use `#+begin_export html` block to replace `#+begin_html` block.
`#+begin_html` doesn't work in newer version of org-mode.
This commit is contained in:
Chuan Ma 2020-02-16 03:35:06 -05:00 committed by Fabrice Niessen
parent a34481949f
commit da598b9156
1 changed files with 3 additions and 3 deletions

View File

@ -5,13 +5,13 @@
#+LANGUAGE: en #+LANGUAGE: en
#+OPTIONS: H:4 num:nil toc:2 #+OPTIONS: H:4 num:nil toc:2
#+SETUPFILE: ~/src/org-html-themes/setup/theme-readtheorg.setup #+SETUPFILE: ../setup/theme-readtheorg.setup
#+begin_html #+begin_export html
<div class="right"> <div class="right">
<a href="https://github.com/fniessen/org-html-themes/blob/master/demo/example.org" class="fa fa-github"> Edit on GitHub</a> <a href="https://github.com/fniessen/org-html-themes/blob/master/demo/example.org" class="fa fa-github"> Edit on GitHub</a>
</div> </div>
#+end_html #+end_export
----- -----