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 Params (Debug)
Key Type Value
author []string
"Kaushal Modi"
date time.Time
2018-01-22 11:07:00 -0500 -0500
draft bool
false
iscjklanguage bool
false
lastmod time.Time
2018-01-22 11:24:50 -0500 -0500
publishdate time.Time
2018-01-22 11:07:00 -0500 -0500
resources []map[string]interface {}
Key Type Value
src string
"**copy-of-*.png"
title string
"First copy of Org mode logo"
Key Type Value
src string
"**copy-2-*.png"
title string
"Second copy of Org mode logo"
tags []string
"not-a_bug"
title string
"Globs for subdirs in bundles in resources -> src front-matter 4"
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"