From: "*" <viki.veeks@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to omit h1 title heading in HTML export?
Date: Mon, 3 Jun 2013 12:20:30 -0500 [thread overview]
Message-ID: <CAEZhbHgDA6kFcGiyPgGVh=aVZbZ+nU-kDSTrLb3hY+CtM-MK5A@mail.gmail.com> (raw)
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...
next reply other threads:[~2013-06-03 17:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 17:20 * [this message]
2013-06-04 8:12 ` How to omit h1 title heading in HTML export? flammable project
2013-06-04 17:16 ` *
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='CAEZhbHgDA6kFcGiyPgGVh=aVZbZ+nU-kDSTrLb3hY+CtM-MK5A@mail.gmail.com' \
--to=viki.veeks@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).