emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "*" <viki.veeks@gmail.com>
To: flammable project <flammable.project@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to omit h1 title heading in HTML export?
Date: Tue, 4 Jun 2013 12:16:30 -0500	[thread overview]
Message-ID: <CAEZhbHgzFMRykPn-xSAiVow4X3c5Qh9jK-H+H8kWgKyJkdS27w@mail.gmail.com> (raw)
In-Reply-To: <CAJzEwi9BBg-89Tyd=nvTnuVLj+tSdg32Ks6Fph=kGZsV6dMuaA@mail.gmail.com>

Hey Basile
Thanks for your reply!

Yes, the suggestion helps :-)
A blank TITLE option seems to produce some empty tags like so:
<h1 class="title"></h1>

And maybe there are also some jquery fixes, for instance...
$("#content h1:first-child").hide();

Sometimes tricks are fun,
but I guess one of my questions was: Do all documents generated by
HTML export contain the <h1 class="title">blabla</h1> markup?

Best,
Ivan

On 6/4/13, flammable project <flammable.project@gmail.com> wrote:
> Hi,
>
> Here is what I usely do, I ommit (left blank) the content beside the
> #+TITLE: option.
>
> Maybe it will help you!
>
> Regards,
>
> Basile
>
>
> 2013/6/3 * <viki.veeks@gmail.com>
>
>> Dear list
>>
>> When exporting an Org-mode file to HTML, I have noticed the following:
>> the first child of the div with id=content is an h1 heading enclosing
>> the filename (minus extension), or the value of TITLE keyword.
>>
>> How can I keep HTML export from producing this h1 heading?
>>
>> For instance say I have a homepage.org file, and that I export this
>> file to HTML with default settings. In the exported HTML file, I would
>> find the following snippet:
>>
>> <body>
>> <div id="content">
>> <h1 class="title">homepage</h1>
>> <div id="table-of-contents">
>>
>> For what I'm doing, it would be better if the exported file didn't
>> include the line
>> <h1 class="title">homepage</h1>
>>
>> How can I tell HTML export to not put this line in the file that it
>> produces?
>>
>> At the moment my fix is some CSS...
>> div#content > h1:first-child { display: none; }
>>
>> I'm using Org-mode version 8.0.3, Emacs 24.3.1
>>
>> Best...
>>
>>
>

  reply	other threads:[~2013-06-04 17:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03 17:20 How to omit h1 title heading in HTML export? *
2013-06-04  8:12 ` flammable project
2013-06-04 17:16   ` * [this message]
2013-06-04 17:24     ` Rasmus
2013-06-05 18:48       ` *

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEZhbHgzFMRykPn-xSAiVow4X3c5Qh9jK-H+H8kWgKyJkdS27w@mail.gmail.com \
    --to=viki.veeks@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=flammable.project@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).