emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ability to add logo to HTML export


From: Ihor Radchenko
Subject: Re: Ability to add logo to HTML export
Date: Fri, 24 Mar 2023 11:54:18 +0000

Vladimir Alexiev <vladimir.alexiev@ontotext.com> writes:

> Right now I have to resort to a bad kludge to do that: a local variable in
> the org file:
>
> #+comment: -*- org-html-preamble: "<p class='author'>Author:
> %a<br/>(%e)</p><p class='date'>Date: %d</p><p><img
> src='./img/SemBSDD-Logo-400px.png'/></p>" -*-

If you have good ideas how to improve `org-html--build-pre/postamble',
patches welcome.

> So I tried this, but it had no effect"
>
> #+OPTION: html-preamble: "<p class='author'>Author: %a<br/>(%e)</p><p
> class='date'>Date: %d</p><p><img src='./img/SemBSDD-Logo-400px.png'/></p>"

OPTION_S_ and you cannot have space after html-preamble: _

Try

#+OPTIONS: html-preamble:"<p class='author'>Author: %a<br/>(%e)</p><p 
class='date'>Date: %d</p><p><img src='./img/SemBSDD-Logo-400px.png'/></p>"

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]