diff --git a/example-site/content-org/all-posts.org b/example-site/content-org/all-posts.org index 7324017..c4b468f 100644 --- a/example-site/content-org/all-posts.org +++ b/example-site/content-org/all-posts.org @@ -84,6 +84,8 @@ inside that div is valid HTML. #+BEGIN_EXPORT md #+END_EXPORT +** Link to image outside of standard Hugo locations +[[../src-images/copy-of-unicorn-logo.png]] * Setting heading anchors :PROPERTIES: :EXPORT_FILE_NAME: setting-heading-anchors diff --git a/example-site/content/posts/image.md b/example-site/content/posts/image.md index 5ade298..d0e51ed 100644 --- a/example-site/content/posts/image.md +++ b/example-site/content/posts/image.md @@ -1,9 +1,9 @@ -+++ -title = "Image" -date = 2017-07-12T13:46:57-04:00 -tags = ["image"] -draft = false -+++ +--- +title : "Image" +date : 2017-07-15T07:49:44-04:00 +tags : ["image"] +draft : false +--- **To be fixed**: At the moment, you need to place the point here and do `C-c C-e H H`. If the point is under any of the nested sub-trees in here where you do that, only that subtree gets exported. @@ -44,3 +44,8 @@ Click below image to jump to the unicorn image. [{{
}} [Discussion](https://github.com/kaushalmodi/ox-hugo/issues/17#issuecomment-313627728) + + +## Link to image outside of standard Hugo locations {#link-to-image-outside-of-standard-hugo-locations} + +{{
}} diff --git a/example-site/src-images/copy-of-unicorn-logo.png b/example-site/src-images/copy-of-unicorn-logo.png new file mode 100755 index 0000000..e76f136 Binary files /dev/null and b/example-site/src-images/copy-of-unicorn-logo.png differ