From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: ox-hugo, 2 questions Date: Sat, 09 Jun 2018 19:14:52 -1000 Message-ID: <87po0z43zn.fsf@tsdye.com> References: <87sh5v4sw6.fsf@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRsgw-00082M-QY for emacs-orgmode@gnu.org; Sun, 10 Jun 2018 01:15:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRsgt-0001Ot-Ia for emacs-orgmode@gnu.org; Sun, 10 Jun 2018 01:15:02 -0400 Received: from outbound-ss-155.bluehost.com ([74.220.216.61]:56189) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fRsgt-0001OH-Bu for emacs-orgmode@gnu.org; Sun, 10 Jun 2018 01:14:59 -0400 Received: from cmgw13.unifiedlayer.com (unknown [10.9.0.13]) by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id 4F76117672B for ; Sat, 9 Jun 2018 23:14:54 -0600 (MDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Kaushal Modi Cc: Org-mode , "Thomas S. Dye" 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