Figures from included Org file
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 Variable | Value | |
---|---|---|
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 |
| |
NextPage | External Links | |
PrevPage | Filling automatically not preserved for Chinese characters (preserve filling off) | |
NextInSection | External Links | |
PrevInSection | Filling automatically not preserved for Chinese characters (preserve filling off) |
Page Params (Debug)
Key | Type | Value |
---|---|---|
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2022-01-06 13:07:30 -0500 -0500 |
tags | []string | "image" "include" |
title | string | "Figures from included Org file" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
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" |