Commit db405a5a authored by Kaushal Modi's avatar Kaushal Modi

Add super-asterisk example (Hugo v0.34+)

parent 988e8538
......@@ -90,7 +90,8 @@ CLOSED: [2017-11-02 Thu 15:01]
</div>
See [[https://github.com/russross/blackfriday/issues/404][blackfriday # 404]].
** DONE Globs for subdirs in bundles in =resources= -> =src= front-matter 1
** Not a bug :not_a_bug:
*** DONE Globs for subdirs in bundles in =resources= -> =src= front-matter 1
CLOSED: [2018-01-19 Fri 12:09]
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: globs-in-resources-src-1
......@@ -99,16 +100,17 @@ CLOSED: [2018-01-19 Fri 12:09]
:EXPORT_HUGO_RESOURCES+: :src "copy-2-*.png" :title "Second copy of Org mode logo"
:END:
Test case for {{{hugoissue(4295)}}}:
*** Images
**** Images
- =:src "images/copy-of-*.png"= --- *works*
[[../files-to-be-copied-to-static/static/images/copy-of-unicorn-logo.png]]
- =:src "copy-2-*.png"=
[[../files-to-be-copied-to-static/foo/copy-2-of-unicorn-logo.png]]
*** Summary
**** Summary
- =:src "images/copy-of-*.png"= --- *works* (this page)
- =:src "*/copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-2][here]])
- =:src "copy-of-*.png"= --- does *not* work ([[/bugs/globs-in-resources-src-3][here]])
** DONE Globs for subdirs in bundles in =resources= -> =src= front-matter 2
- =:src "**copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-4][here]])
*** DONE Globs for subdirs in bundles in =resources= -> =src= front-matter 2
CLOSED: [2018-01-19 Fri 12:30]
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: globs-in-resources-src-2
......@@ -117,16 +119,17 @@ CLOSED: [2018-01-19 Fri 12:30]
:EXPORT_HUGO_RESOURCES+: :src "copy-2-*.png" :title "Second copy of Org mode logo"
:END:
Test case for {{{hugoissue(4295)}}}:
*** Images
**** Images
- =:src "*/copy-of-*.png"= --- *works*
[[../files-to-be-copied-to-static/static/images/copy-of-unicorn-logo.png]]
- =:src "copy-2-*.png"=
[[../files-to-be-copied-to-static/foo/copy-2-of-unicorn-logo.png]]
*** Summary
**** Summary
- =:src "images/copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-1][here]])
- =:src "*/copy-of-*.png"= --- *works* (this page)
- =:src "copy-of-*.png"= --- does *not* work ([[/bugs/globs-in-resources-src-3][here]])
** DONE Globs for subdirs in bundles in =resources= -> =src= front-matter 3
- =:src "**copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-4][here]])
*** DONE Globs for subdirs in bundles in =resources= -> =src= front-matter 3
CLOSED: [2018-01-19 Fri 12:30]
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: globs-in-resources-src-3
......@@ -135,15 +138,36 @@ CLOSED: [2018-01-19 Fri 12:30]
:EXPORT_HUGO_RESOURCES+: :src "copy-2-*.png" :title "Second copy of Org mode logo"
:END:
Test case for {{{hugoissue(4295)}}}:
*** Images
**** Images
- =:src "copy-of-*.png"= --- does *not* work
[[../files-to-be-copied-to-static/static/images/copy-of-unicorn-logo.png]]
- =:src "copy-2-*.png"=
[[../files-to-be-copied-to-static/foo/copy-2-of-unicorn-logo.png]]
*** Summary
**** Summary
- =:src "images/copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-1][here]])
- =:src "*/copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-2][here]])
- =:src "copy-of-*.png"= --- does *not* work (this page)
- =:src "**copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-4][here]])
*** DONE Globs for subdirs in bundles in =resources= -> =src= front-matter 4
CLOSED: [2018-01-22 Mon 11:07]
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: globs-in-resources-src-4
:EXPORT_FILE_NAME: index
:EXPORT_HUGO_RESOURCES: :src "**copy-of-*.png" :title "First copy of Org mode logo"
:EXPORT_HUGO_RESOURCES+: :src "**copy-2-*.png" :title "Second copy of Org mode logo"
:END:
This page makes use of the [[http://gohugo.io/news/0.34-relnotes/][*super-asterisk* support]] introduced in Hugo
v0.34.
**** Images
- =:src "**copy-of-*.png"= --- "works*
[[../files-to-be-copied-to-static/static/images/copy-of-unicorn-logo.png]]
- =:src "**copy-2-*.png"=
[[../files-to-be-copied-to-static/foo/copy-2-of-unicorn-logo.png]]
**** Summary
- =:src "images/copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-1][here]])
- =:src "*/copy-of-*.png"= --- *works* ([[/bugs/globs-in-resources-src-2][here]])
- =:src "copy-of-*.png"= --- does *not* work ([[/bugs/globs-in-resources-src-3][here]])
- =:src "**copy-of-*.png"= --- *works* (this page)
* Preparation
:PROPERTIES:
:EXPORT_FILE_NAME: prep
......
......@@ -2,6 +2,7 @@
title = "Globs for subdirs in bundles in resources -> src front-matter 1"
author = ["Kaushal Modi"]
date = 2018-01-19T12:09:00-05:00
tags = ["not-a_bug"]
draft = false
[[resources]]
src = "images/copy-of-*.png"
......@@ -27,3 +28,4 @@ Test case for Hugo Issue #[4295](https://github.com/gohugoio/hugo/issues/4295):
- `:src "images/copy-of-*.png"` --- **works** (this page)
- `:src "*/copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-2))
- `:src "copy-of-*.png"` --- does **not** work ([here](/bugs/globs-in-resources-src-3))
- `:src "**copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-4))
......@@ -2,6 +2,7 @@
title = "Globs for subdirs in bundles in resources -> src front-matter 2"
author = ["Kaushal Modi"]
date = 2018-01-19T12:30:00-05:00
tags = ["not-a_bug"]
draft = false
[[resources]]
src = "*/copy-of-*.png"
......@@ -27,3 +28,4 @@ Test case for Hugo Issue #[4295](https://github.com/gohugoio/hugo/issues/4295):
- `:src "images/copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-1))
- `:src "*/copy-of-*.png"` --- **works** (this page)
- `:src "copy-of-*.png"` --- does **not** work ([here](/bugs/globs-in-resources-src-3))
- `:src "**copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-4))
......@@ -2,6 +2,7 @@
title = "Globs for subdirs in bundles in resources -> src front-matter 3"
author = ["Kaushal Modi"]
date = 2018-01-19T12:30:00-05:00
tags = ["not-a_bug"]
draft = false
[[resources]]
src = "copy-of-*.png"
......@@ -27,3 +28,4 @@ Test case for Hugo Issue #[4295](https://github.com/gohugoio/hugo/issues/4295):
- `:src "images/copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-1))
- `:src "*/copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-2))
- `:src "copy-of-*.png"` --- does **not** work (this page)
- `:src "**copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-4))
+++
title = "Globs for subdirs in bundles in resources -> src front-matter 4"
author = ["Kaushal Modi"]
date = 2018-01-22T11:07:00-05:00
tags = ["not-a_bug"]
draft = false
[[resources]]
src = "**copy-of-*.png"
title = "First copy of Org mode logo"
[[resources]]
src = "**copy-2-*.png"
title = "Second copy of Org mode logo"
+++
This page makes use of the [**super-asterisk** support](http://gohugo.io/news/0.34-relnotes/) introduced in Hugo
v0.34.
## Images {#images}
- `:src "**copy-of-*.png"` --- "works\*
{{<figure src="images/copy-of-unicorn-logo.png">}}
- `:src "**copy-2-*.png"`
{{<figure src="copy-2-of-unicorn-logo.png">}}
## Summary {#summary}
- `:src "images/copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-1))
- `:src "*/copy-of-*.png"` --- **works** ([here](/bugs/globs-in-resources-src-2))
- `:src "copy-of-*.png"` --- does **not** work ([here](/bugs/globs-in-resources-src-3))
- `:src "**copy-of-*.png"` --- **works** (this page)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment