.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Oct 05, 2024 21:20 UTC.


This page was created/modified in commit 6ae98d0 "Add test for https://github.com/kaushalmodi/ox-hugo/issues/339" on 2022-01-06.
Markdown source of this page

Figures from included Org file

tags: image include


Description/Summary

ox-hugo Issue #339 Including another subtree from this same file # This test can be truly tested by locally deleting test/site/static/ox-hugo/copy-2-of-unicorn-logo.png from this repo, exporting this file and checking that the file got copied again. This is an inline non-hyperlinked image without alt text or other attributes: . Including a subtree from a file in different directory # This test can be truly tested by locally deleting test/site/static/ox-hugo/gnu.png from this repo, exporting this file and checking that the file got copied again.


Content

ox-hugo Issue #339

Including another subtree from this same file #

This test can be truly tested by locally deleting test/site/static/ox-hugo/copy-2-of-unicorn-logo.png from this repo, exporting this file and checking that the file got copied again.

This is an inline non-hyperlinked image without alt text or other attributes: .

Including a subtree from a file in different directory #

This test can be truly tested by locally deleting test/site/static/ox-hugo/gnu.png from this repo, exporting this file and checking that the file got copied again.

Post 1 contents

I have the gnu.png file in the same directory that contains the source Org file of this post.

./content-org
├── images-in-content/
│  ├── images-in-content.org
│  │    * Post 1 (Org subtree)   →  ./content/images-in-content/post1.md  **THIS POST**
│  │    * Post 2 (Org subtree)   →  ./content/images-in-content/post2.md
│  ├── gnu.png                   →  ./static/ox-hugo/gnu.png              **BELOW IMAGE**
│  └── org.png                   →  ./static/ox-hugo/org.png
├── post3/
│  ├── post3.org                 →  ./content/images-in-content/post3.md
│  └── gnu-copy.png              →  ./static/ox-hugo/gnu-copy.png
└── post4/
   ├── post4.org                 →  ./content/images-in-content/post4.md
   └── org-copy.png              →  ./static/ox-hugo/org-copy.png

Page (Debug)

Page VariableValue
Name "Figures from included Org file"
Title "Figures from included Org file"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/figures-from-included-org-file/"
RelPermalink "/posts/figures-from-included-org-file/"
Data
page.Data{} (type:page.Data)
NextPageExternal Links
PrevPageFilling automatically not preserved for Chinese characters (preserve filling off)
NextInSectionExternal Links
PrevInSectionFilling automatically not preserved for Chinese characters (preserve filling off)

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-01-06 13:07:30 -0500 -0500
tags[]string "image" "include"
titlestring "Figures from included Org file"

File Object (Debug)

FileInfo VariableValue
UniqueID "0e13b5c77a563e54215a6625d0b74657"
BaseFileName "figures-from-included-org-file"
TranslationBaseName "figures-from-included-org-file"
Lang "en"
Section "posts"
LogicalName "figures-from-included-org-file.md"
Dir "posts/"
Ext "md"
Path "posts/figures-from-included-org-file.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]