.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 72ceec4 "Add test for counter in name and title" on 2018-01-28.
Markdown source of this page

Resource Counters Name and Title

tags: resources counter


Description/Summary

Testing separate counters for Name and Title.


Content

Testing separate counters for Name and Title.


Resources


Page (Debug)

Page VariableValue
Name "Resource Counters Name and Title"
Title "Resource Counters Name and Title"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/resources-counters-name-and-title/"
RelPermalink "/posts/resources-counters-name-and-title/"
Data
page.Data{} (type:page.Data)
NextPagePrefer Hyphen in Tags
PrevPageSearch
NextInSectionPrefer Hyphen in Tags
PrevInSectionSource blocks with highlighting

Page Params (Debug)

maps.Params{"author":[]string{"Kaushal Modi"}, "draft":false, "iscjklanguage":false, "lastmod":time.Date(2018, time.January, 28, 21, 39, 19, 0, time.Location("")), "resources":[]map[string]interface {}{map[string]interface {}{"src":"*specs.pdf", "title":"Specifications #:counter"}, map[string]interface {}{"name":"pdf-file-:counter", "src":"**.pdf"}}, "tags":[]string{"resources", "counter"}, "title":"Resource Counters Name and Title"} (type:maps.Params)

Resources (Debug)

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

File Object (Debug)

FileInfo VariableValue
UniqueID "061c1840ee02ea66ca65707bf9a80e74"
BaseFileName "index"
TranslationBaseName "index"
Lang "en"
Section "posts"
LogicalName "index.md"
Dir "posts/resources-counters-name-and-title/"
Ext "md"
Path "posts/resources-counters-name-and-title/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]