emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ox-html] Using a different title in the head and in the body
@ 2013-03-25 20:27 Alan Schmitt
  2013-04-06  0:21 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2013-03-25 20:27 UTC (permalink / raw)
  To: Orgmode Mailing List

Hello,

I'm building a small web site using org-mode, and I cannot find out how
to have a short title in the head of the generated html, and a longer
one in the body.

Is this possible?

Thanks,

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ox-html] Using a different title in the head and in the body
  2013-03-25 20:27 [ox-html] Using a different title in the head and in the body Alan Schmitt
@ 2013-04-06  0:21 ` Bastien
  2013-04-06 15:10   ` Alan Schmitt
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2013-04-06  0:21 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: Orgmode Mailing List

Hi Alan,

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> I'm building a small web site using org-mode, and I cannot find out how
> to have a short title in the head of the generated html, and a longer
> one in the body.
>
> Is this possible?

Nope, this is not possible -- or maybe a ugly hack would be to set
your own <title>...</title> in #+HTML_HEAD and pray so that browsers
interpret the last one they see.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ox-html] Using a different title in the head and in the body
  2013-04-06  0:21 ` Bastien
@ 2013-04-06 15:10   ` Alan Schmitt
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Schmitt @ 2013-04-06 15:10 UTC (permalink / raw)
  To: Bastien; +Cc: Orgmode Mailing List

Bastien writes:

> Hi Alan,
>
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
>> I'm building a small web site using org-mode, and I cannot find out how
>> to have a short title in the head of the generated html, and a longer
>> one in the body.
>>
>> Is this possible?
>
> Nope, this is not possible -- or maybe a ugly hack would be to set
> your own <title>...</title> in #+HTML_HEAD and pray so that browsers
> interpret the last one they see.

Thanks for the suggestion. I tried it, and it does not work with Firefox
(only the first title is used). I could do it with some JavaScript, but
it's not that important to bother at the moment.

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-06 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-25 20:27 [ox-html] Using a different title in the head and in the body Alan Schmitt
2013-04-06  0:21 ` Bastien
2013-04-06 15:10   ` Alan Schmitt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).