Globs for subdirs in bundles in resources -> src front-matter 2
tags: not-a_bug
Description/Summary
Test case for Hugo Issue #4295: Images :src "*/copy-of-*.png" — works :src "copy-2-*.png" Summary :src "images/copy-of-*.png" — works (here) :src "*/copy-of-*.png" — works (this page) :src "copy-of-*.png" — does not work (here) :src "**copy-of-*.png" — works (here)
Content
Test case for Hugo Issue #4295:
Images
:src "*/copy-of-*.png"
— works:src "copy-2-*.png"
Summary
:src "images/copy-of-*.png"
— works (here):src "*/copy-of-*.png"
— works (this page):src "copy-of-*.png"
— does not work (here):src "**copy-of-*.png"
— works (here)
Resources
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Globs for subdirs in bundles in resources -> src front-matter 2" | |
Title | "Globs for subdirs in bundles in resources -> src front-matter 2" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "bugs" | |
Draft | false | |
Type | "bugs" | |
Layout | "" | |
Permalink | "https://hugo-sandbox.netlify.com/bugs/globs-in-resources-src-2/" | |
RelPermalink | "/bugs/globs-in-resources-src-2/" | |
Data |
| |
NextPage | Globs for subdirs in bundles in resources -> src front-matter 4 | |
PrevPage | Globs for subdirs in bundles in resources -> src front-matter 3 | |
NextInSection | Globs for subdirs in bundles in resources -> src front-matter 4 | |
PrevInSection | Globs for subdirs in bundles in resources -> src front-matter 3 |
Page Params (Debug)
maps.Params{"author":[]string{"Kaushal Modi"}, "date":time.Date(2018, time.January, 19, 12, 30, 0, 0, time.Location("")), "draft":false, "iscjklanguage":false, "lastmod":time.Date(2018, time.January, 22, 11, 24, 50, 0, time.Location("")), "publishdate":time.Date(2018, time.January, 19, 12, 30, 0, 0, time.Location("")), "resources":[]map[string]interface {}{map[string]interface {}{"src":"*/copy-of-*.png", "title":"First copy of Org mode logo"}, map[string]interface {}{"src":"copy-2-*.png", "title":"Second copy of Org mode logo"}}, "tags":[]string{"not-a_bug"}, "title":"Globs for subdirs in bundles in resources -> src front-matter 2"} (type:maps.Params) |
Resources (Debug)
Resource Variable | Value | |
---|---|---|
Name | "copy-2-of-unicorn-logo.png" | |
Title | "Second copy of Org mode logo" | |
ResourceType | "image" | |
Permalink | "https://hugo-sandbox.netlify.com/bugs/globs-in-resources-src-2/copy-2-of-unicorn-logo.png" | |
RelPermalink | "/bugs/globs-in-resources-src-2/copy-2-of-unicorn-logo.png" | |
Params |
|
Resource Variable | Value | |
---|---|---|
Name | "images/copy-of-unicorn-logo.png" | |
Title | "First copy of Org mode logo" | |
ResourceType | "image" | |
Permalink | "https://hugo-sandbox.netlify.com/bugs/globs-in-resources-src-2/images/copy-of-unicorn-logo.png" | |
RelPermalink | "/bugs/globs-in-resources-src-2/images/copy-of-unicorn-logo.png" | |
Params |
|
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "6488f0a3c832b0e5b6f16dace820bda6" |
BaseFileName | "index" |
TranslationBaseName | "index" |
Lang | "en" |
Section | "bugs" |
LogicalName | "index.md" |
Dir | "bugs/globs-in-resources-src-2/" |
Ext | "md" |
Path | "bugs/globs-in-resources-src-2/index.md" |