emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: ox-hugo, 2 questions
Date: Sat, 09 Jun 2018 10:16:57 -1000	[thread overview]
Message-ID: <87sh5v4sw6.fsf@tsdye.com> (raw)

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

             reply	other threads:[~2018-06-09 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09 20:16 Thomas S. Dye [this message]
2018-06-10  3:24 ` ox-hugo, 2 questions Kaushal Modi
2018-06-10  5:14   ` Thomas S. Dye

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=87sh5v4sw6.fsf@tsdye.com \
    --to=tsd@tsdye.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).