Add and use the {{{issue(..)}}} macro in the issues.org

master
Kaushal Modi 6 years ago
parent 27d562cdad
commit a0c4e4ef67
  1. 6
      test/site/content-org/issues.org
  2. 2
      test/site/content/issues/360-bundle/index.md
  3. 2
      test/site/content/issues/360.md

@ -1,6 +1,8 @@
#+hugo_base_dir: ../
#+hugo_section: issues
#+macro: issue =ox-hugo= Issue #[[https://github.com/kaushalmodi/ox-hugo/issues/$1][$1]]
#+options: author:nil
#+filetags: issues
@ -15,6 +17,8 @@
Link to image using ~file:~ in a Leaf Bundle.
#+end_description
{{{issue(360)}}}
[[file:images/issues/360-bundle/org.png]]
** ox-hugo Issue 360 test (Regular)
:PROPERTIES:
@ -24,4 +28,6 @@ Link to image using ~file:~ in a Leaf Bundle.
Link to image using ~file:~ in a Regular page.
#+end_description
{{{issue(360)}}}
[[file:images/issues/360-bundle/org.png]]

@ -5,4 +5,6 @@ tags = ["issues", "images", "figure", "bundle"]
draft = false
+++
`ox-hugo` Issue #[360](https://github.com/kaushalmodi/ox-hugo/issues/360)
{{< figure src="org.png" >}}

@ -5,4 +5,6 @@ tags = ["issues", "images", "figure"]
draft = false
+++
`ox-hugo` Issue #[360](https://github.com/kaushalmodi/ox-hugo/issues/360)
{{< figure src="/ox-hugo/org.png" >}}

Loading…
Cancel
Save