From mboxrd@z Thu Jan 1 00:00:00 1970 From: flammable project Subject: Re: How to omit h1 title heading in HTML export? Date: Tue, 4 Jun 2013 10:12:39 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d870f078d9e04de4fa5a1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjmMD-0004Hj-Ek for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 04:12:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjmMB-00017E-V1 for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 04:12:41 -0400 Received: from mail-vc0-f180.google.com ([209.85.220.180]:35227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjmMB-00017A-RM for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 04:12:39 -0400 Received: by mail-vc0-f180.google.com with SMTP id gd11so3291322vcb.25 for ; Tue, 04 Jun 2013 01:12:39 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: * Cc: emacs-orgmode@gnu.org --047d7b5d870f078d9e04de4fa5a1 Content-Type: text/plain; charset=ISO-8859-1 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 * > 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: > > >
>

homepage

>
> > For what I'm doing, it would be better if the exported file didn't > include the line >

homepage

> > 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... > > --047d7b5d870f078d9e04de4fa5a1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

Here is what I usely do, I om= mit (left blank) the content beside the #+TITLE: option.=A0

Maybe it will help you!

Regards,

Basile


2013/6/3 * <viki.ve= eks@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=3Dcontent 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=3D"content">
<h1 class=3D"title">homepage</h1>
<div id=3D"table-of-contents">

For what I'm doing, it would be better if the exported file didn't<= br> include the line
<h1 class=3D"title">homepage</h1>

How can I tell HTML export to not put this line in the file that it produce= s?

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...


--047d7b5d870f078d9e04de4fa5a1--