emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ox-hugo, 2 questions
@ 2018-06-09 20:16 Thomas S. Dye
  2018-06-10  3:24 ` Kaushal Modi
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2018-06-09 20:16 UTC (permalink / raw)
  To: Org-mode

Aloha all,

1) Is this the correct way to get an image in the homepage branch 
bundle?

I have this in the org file:

* Homepage
  :PROPERTIES:
  :EXPORT_HUGO_SECTION:
  :EXPORT_FILE_NAME: index
  :END:

[[/bldg-1-5-sequence-distance-1332+-small.png]]

This is the markdown export:

+++
title = "Homepage"
author = ["Thomas S. Dye"]
lastmod = 2018-06-09T09:32:43-10:00
draft = false
+++

{{< figure src="/bldg-1-5-sequence-distance-1332+-small.png" >}}

I don't see an image on the home page.  Perhaps this is an issue 
with the theme I'm using (material-docs)?

2) Can I have links in figure captions?

I have this in the org file:

 #+name: fig-12-sequence
 #+caption: Stratigraphic DAG for the information on Figure 
 [[fig-12-section]].
 [[file:/fig-12-sequence.png][file:/fig-12-sequence-small.png]]

This is the markdown export:

{{< figure src="/fig-12-sequence-small.png" caption="Figure 2: 
Stratigraphic DAG for the information on Figure [1](#org1658d1e)." 
link="/fig-12-sequence.png" >}}

All the best,
Tom

--
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-10  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 20:16 ox-hugo, 2 questions Thomas S. Dye
2018-06-10  3:24 ` Kaushal Modi
2018-06-10  5:14   ` Thomas S. Dye

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