Resource Counters C
tags:
resources
bug
fixed
Description/Summary
:counter is still set only in name, but that Name-assignment rule happens during the second “fetch” of "documents/photo_specs.pdf".
Observation Counter increments in name 🚫 Ref Hugo Issue #4334 → discourse discussion → Hugo Issue #4335 Ref
Content
:counter
is still set only in name
, but that Name-assignment rule
happens during the second “fetch” of "documents/photo_specs.pdf"
.
Observation
- Counter increments in
name
🚫
Ref
Resources
Page (Debug)
Page Variable | Value |
Name |
"Resource Counters C"
|
Title |
"Resource Counters C"
|
ResourceType |
"page"
|
Kind |
"page"
|
Section |
"posts"
|
Draft |
false
|
Type |
"posts"
|
Layout |
""
|
Permalink |
"https://hugo-sandbox.netlify.com/posts/resources-counters-c/"
|
RelPermalink |
"/posts/resources-counters-c/"
|
Data |
page.Data{} (type:page.Data) |
|
NextPage | Resource Counters B |
PrevPage | Resource Order A (YAML) |
NextInSection | Resource Counters B |
PrevInSection | Resource Order A (YAML) |
Page Params (Debug)
maps.Params{"author":[]string{"Kaushal Modi"}, "date":time.Date(2018, time.January, 26, 12, 45, 0, 0, time.Location("")), "draft":false, "iscjklanguage":false, "lastmod":time.Date(2018, time.January, 27, 21, 21, 47, 0, time.Location("")), "publishdate":time.Date(2018, time.January, 26, 12, 45, 0, 0, time.Location("")), "resources":[]map[string]interface {}{map[string]interface {}{"src":"documents/photo_specs.pdf", "title":"Photo Specifications"}, map[string]interface {}{"name":"pdf-file-:counter", "src":"**.pdf"}}, "tags":[]string{"resources", "bug", "fixed"}, "title":"Resource Counters C"} (type:maps.Params) |
Resources (Debug)
Resource Variable | Value |
Name |
"pdf-file-1"
|
Title |
"documents/checklist.pdf"
|
ResourceType |
"application"
|
Permalink |
"https://hugo-sandbox.netlify.com/posts/resources-counters-c/documents/checklist.pdf"
|
RelPermalink |
"/posts/resources-counters-c/documents/checklist.pdf"
|
Params |
maps.Params{} (type:maps.Params) |
|
Resource Variable | Value |
Name |
"pdf-file-2"
|
Title |
"documents/guide.pdf"
|
ResourceType |
"application"
|
Permalink |
"https://hugo-sandbox.netlify.com/posts/resources-counters-c/documents/guide.pdf"
|
RelPermalink |
"/posts/resources-counters-c/documents/guide.pdf"
|
Params |
maps.Params{} (type:maps.Params) |
|
Resource Variable | Value |
Name |
"pdf-file-3"
|
Title |
"Photo Specifications"
|
ResourceType |
"application"
|
Permalink |
"https://hugo-sandbox.netlify.com/posts/resources-counters-c/documents/photo_specs.pdf"
|
RelPermalink |
"/posts/resources-counters-c/documents/photo_specs.pdf"
|
Params |
maps.Params{} (type:maps.Params) |
|
File Object (Debug)
FileInfo Variable | Value |
UniqueID |
"4270cfa74024aafb5ef8a5fe4e8d7b81"
|
BaseFileName |
"index"
|
TranslationBaseName |
"index"
|
Lang |
"en"
|
Section |
"posts"
|
LogicalName |
"index.md"
|
Dir |
"posts/resources-counters-c/"
|
Ext |
"md"
|
Path |
"posts/resources-counters-c/index.md"
|