I'm rewriting my personal home page as an org-file that I export to HTML. In this HTML document, I'd like to include the content of some pregenerated HTML fragments stored in other files (my list of publications as generated by bibtex2html
).
Here is an example document:
* My personal home page
** Articles
[insert HTML file with list of articles here]
** Posters
[insert HTML file with list of posters here]
I tried using #+INCLUDE:
but that escapes all HTML and hence shows the HTML source in the resulting web page not the rendered HTML fragment.
I also tried the following
#+BEGIN_HTML
#+INCLUDE: "file.html"
#+END_HTML
but the #+INCLUDE
directive is not interpreted inside the HTML block.
It seems like there should be an easy way to achieve this but I can't seem to find it.