* HTML export without org title as H1?
@ 2016-06-10 12:03 Christian Wittern
2016-06-10 13:17 ` John Kitchin
0 siblings, 1 reply; 3+ messages in thread
From: Christian Wittern @ 2016-06-10 12:03 UTC (permalink / raw)
To: Org Mode Mailing List
Hello org users,
I am trying to export an org file to the "content" part of a HTML file.
Using header lines and inline html blocks, I basically succeeded in
constructing it the way I need it. However, there is still one stumbling
block: It seems that it is hardcoded to use the title of the org file as the
first H1 element. This breaks my file, so I would like to suppress that,
together with the first <div> element. Does anybody know how to achieve
that? Or are there better ways to achieve this?
What I have so far basically looks like this:
#+TITLE: Kanripo 漢籍リポジトリ
#+SETUPFILE: kanripo.blog.setup
#+OPTIONS: num:nil toc:nil html-style:nil
#+begin_html
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
...
#+end_html
** Here starts the first real head
..
and so on
Any help appreciated,
Christian
--
Christian Wittern, Kyoto
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HTML export without org title as H1?
2016-06-10 12:03 HTML export without org title as H1? Christian Wittern
@ 2016-06-10 13:17 ` John Kitchin
2016-06-10 23:06 ` Christian Wittern
0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2016-06-10 13:17 UTC (permalink / raw)
To: Christian Wittern; +Cc: Org Mode Mailing List
I am not sure I follow what you want. You can get rid of the title with
the option: title:nil
This:
#+TITLE: Kanripo 漢籍リポジトリ
#+OPTIONS: num:nil toc:nil html-style:nil
#+begin_html
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
...
#+end_html
** Here starts the first real head
..
and so on
exports to this for me (just the body export).
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
...
<div id="outline-container-orgheadline1" class="outline-2">
<h2 id="orgheadline1">Here starts the first real head</h2>
<div class="outline-text-2" id="text-orgheadline1">
<p>
..
and so on
</p>
</div>
</div>
Christian Wittern writes:
> Hello org users,
>
> I am trying to export an org file to the "content" part of a HTML file.
> Using header lines and inline html blocks, I basically succeeded in
> constructing it the way I need it. However, there is still one stumbling
> block: It seems that it is hardcoded to use the title of the org file as the
> first H1 element. This breaks my file, so I would like to suppress that,
> together with the first <div> element. Does anybody know how to achieve
> that? Or are there better ways to achieve this?
> What I have so far basically looks like this:
>
> #+TITLE: Kanripo 漢籍リポジトリ
> #+SETUPFILE: kanripo.blog.setup
> #+OPTIONS: num:nil toc:nil html-style:nil
>
> #+begin_html
> <div class="navbar navbar-inverse navbar-fixed-top">
> <div class="navbar-inner">
> <div class="container">
> ...
> #+end_html
>
> ** Here starts the first real head
>
> ..
> and so on
>
> Any help appreciated,
>
> Christian
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-10 23:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 12:03 HTML export without org title as H1? Christian Wittern
2016-06-10 13:17 ` John Kitchin
2016-06-10 23:06 ` Christian Wittern
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).