.Kind (page): .Type (posts) / .Layout ()
Bundle: leaf
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Jan 20, 2022 13:08 UTC.


This page was created/modified in commit e8302f5 "Add "fixed" tags to test cases for fixed bugs" on 2018-01-27.
Markdown source of this page

Resource Counters A

tags: resources bug fixed


Description/Summary

:counter is set only in name. Observation Counter increments in name ✅ Ref Hugo Issue #4334 → discourse discussion → Hugo Issue #4335 Ref


Content

:counter is set only in name.

Observation

Ref


Resources


Page (Debug)

Page VariableValue
Name "Resource Counters A"
Title "Resource Counters A"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/resources-counters-a/"
RelPermalink "/posts/resources-counters-a/"
Data
page.Data{} (type:page.Data)
NextPageLeaf Bundles not allowed directly under content/
PrevPageResource Counters B
NextInSectionNotes on HEP course
PrevInSectionResource Counters B

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 {}{"name":"pdf-file-:counter", "src":"**.pdf"}}, "tags":[]string{"resources", "bug", "fixed"}, "title":"Resource Counters A"} (type:maps.Params)

Resources (Debug)

Resource VariableValue
Name "pdf-file-1"
Title "documents/checklist.pdf"
ResourceType "application"
Permalink "https://hugo-sandbox.netlify.com/posts/resources-counters-a/documents/checklist.pdf"
RelPermalink "/posts/resources-counters-a/documents/checklist.pdf"
Params
maps.Params{} (type:maps.Params)
Resource VariableValue
Name "pdf-file-2"
Title "documents/guide.pdf"
ResourceType "application"
Permalink "https://hugo-sandbox.netlify.com/posts/resources-counters-a/documents/guide.pdf"
RelPermalink "/posts/resources-counters-a/documents/guide.pdf"
Params
maps.Params{} (type:maps.Params)
Resource VariableValue
Name "pdf-file-3"
Title "documents/photo_specs.pdf"
ResourceType "application"
Permalink "https://hugo-sandbox.netlify.com/posts/resources-counters-a/documents/photo_specs.pdf"
RelPermalink "/posts/resources-counters-a/documents/photo_specs.pdf"
Params
maps.Params{} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "9342d5d1ad076d0c0d0c34f9d84e0dae"
BaseFileName "index"
TranslationBaseName "index"
Lang "en"
Section "posts"
LogicalName "index.md"
Dir "posts/resources-counters-a/"
Ext "md"
Path "posts/resources-counters-a/index.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.92.0 (commit b3549403) .

[Back to Hugo Sandbox home]