emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>, "Thomas S. Dye" <tsd@tsdye.com>
Subject: Re: ox-hugo, 2 questions
Date: Sat, 09 Jun 2018 19:14:52 -1000	[thread overview]
Message-ID: <87po0z43zn.fsf@tsdye.com> (raw)
In-Reply-To: <CAFyQvY2yJJLOW9Po6qyf8fyjL6XOUomn8K0Q5b_whB8y0CjFRA@mail.gmail.com>

Aloha Kaushal,

Kaushal Modi writes:
>
> It's difficult to tell. Can you share a git repo with a minimal 
> site (just
> the config.toml and the Org content files would do). I will try 
> reproducing
> the issue locally using ox-hugo plus the ox-hugo test site 
> theme:
> https://github.com/kaushalmodi/hugo-bare-min-theme.
>
> I have a "sandbox" site where you can see an example of _index. 
> See for
> "_index" here:
> https://gitlab.com/kaushalmodi/hugo-sandbox/raw/master/content-org/sandbox.org.
> That example also happens to have an image on the home page, 
> though I am
> inserting that image in the layout file itself using the 
> .Resources Hugo
> method.
>
> Here is the outcome: https://hugo-sandbox.netlify.com/.

Many thanks for this kind offer.  Will do, if I can't figure it 
out.

> Just putting this custom figure.html in your site's 
> layouts/shortcodes/
> directory (which will override the inbuilt figure shortcode) 
> will fix this
> second issue.

Yes, it works like magic!

> Hope this helps. For future, you can ask ox-hugo questions 
> directly at
> https://github.com/kaushalmodi/ox-hugo/issues.
>
> I don't mind Hugo-related questions there too. But just so that 
> you know
> the Hugo Discourse forum is pretty active too: 
> https://discourse.gohugo.io/.

OK, will do.

All the best,
Tom

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

      reply	other threads:[~2018-06-10  5:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=87po0z43zn.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@gmail.com \
    /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).