Globs for subdirs in bundles in resources -> src front-matter 4
tags: not-a_bug
Description/Summary
This page makes use of the super-asterisk support introduced in Hugo v0.34. Images :src "**copy-of-*.png" — “works* :src "**copy-2-*.png" Summary :src "images/copy-of-*.png" — works (here) :src "*/copy-of-*.png" — works (here) :src "copy-of-*.png" — does not work (here) :src "**copy-of-*.png" — works (this page)
Content
This page makes use of the super-asterisk support introduced in Hugo v0.34.
Images
:src "**copy-of-*.png"
— “works*:src "**copy-2-*.png"
Summary
:src "images/copy-of-*.png"
— works (here):src "*/copy-of-*.png"
— works (here):src "copy-of-*.png"
— does not work (here):src "**copy-of-*.png"
— works (this page)
Resources
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Globs for subdirs in bundles in resources -> src front-matter 4" | |
Title | "Globs for subdirs in bundles in resources -> src front-matter 4" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "bugs" | |
Draft | false | |
Type | "bugs" | |
Layout | "" | |
Permalink | "https://hugo-sandbox.netlify.com/bugs/globs-in-resources-src-4/" | |
RelPermalink | "/bugs/globs-in-resources-src-4/" | |
Data |
| |
NextPage | Resource Order C | |
PrevPage | Globs for subdirs in bundles in resources -> src front-matter 2 | |
NextInSection | date and publishdate | |
PrevInSection | Globs for subdirs in bundles in resources -> src front-matter 2 |
Page Params (Debug)
maps.Params{"author":[]string{"Kaushal Modi"}, "date":time.Date(2018, time.January, 22, 11, 7, 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, 22, 11, 7, 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 4"} (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-4/copy-2-of-unicorn-logo.png" | |
RelPermalink | "/bugs/globs-in-resources-src-4/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-4/images/copy-of-unicorn-logo.png" | |
RelPermalink | "/bugs/globs-in-resources-src-4/images/copy-of-unicorn-logo.png" | |
Params |
|
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "545d999d3134be496809fe2d454984f1" |
BaseFileName | "index" |
TranslationBaseName | "index" |
Lang | "en" |
Section | "bugs" |
LogicalName | "index.md" |
Dir | "bugs/globs-in-resources-src-4/" |
Ext | "md" |
Path | "bugs/globs-in-resources-src-4/index.md" |