* HTML literal output
@ 2015-12-28 16:42 Larrabee Strow
0 siblings, 0 replies; only message in thread
From: Larrabee Strow @ 2015-12-28 16:42 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
I am using orgmode to produce html for the Hugo static web site generator.
Hugo requires yaml at the top of the html file for configuration.
Previously (8.3beta) this worked by putting the yaml inside BEGIN_HTML
blocks., but it does not work with version 8.3.2
org-mode Version 8.3.2
I am unable to get orgmode to pass literal "html" on export.
Input file:
-----------------------------------------------
#+STARTUP: showall expand
#+options: toc:nil
#+BEGIN_HTML
---
date: "2014-07-28"
title: "Testeight"
type: "page"
menu: "docs"
weight: 3
---
#+END_HTML
* Hello
This is the first line
html output file:
----------------------------------------------
<div class="HTML">
<p>
—
date: "2014-07-28"
title: "Testeight"
type: "page"
menu: "docs"
weight: 3
—
</p>
etc.
In orgmode 8.3beta this worked. I got the html export file below
---
date: "2014-07-28"
title: "Testeight"
type: "page"
menu: "docs"
weight: 3
---
<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> Hello</h2>
<div class="outline-text-2" id="text-1">
<p>
This is the first line
</p>
</div>
</div>
Also, is there any way to make "Body only:" on as the default in the
exporter menu? I do not want to use publish.
Thank you.
Larrabee
------------------------------------------
L. Larrabee Strow
UMBC Physics Department
Email: strow@umbc.edu
Phone: 724-288-6933
[-- Attachment #2: Type: text/html, Size: 2672 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-28 16:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-28 16:42 HTML literal output Larrabee Strow
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.