.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 f0082dc "Add date stamps to the resource order posts" on 2018-01-22.
Markdown source of this page

Resource Order C

tags: resources


Description/Summary

The only way this would work. @bep As I have mentioned in other placing: There is no merge logic, so the first name, title and params win. So the “solution” is to just put all params specific to a file in the same resources → src block. Markdown source Source of documents: 1, 2 Ref


Content

The only way this would work.

@bep
As I have mentioned in other placing: There is no merge logic, so the first name, title and params win.

So the “solution” is to just put all params specific to a file in the same resourcessrc block.

Markdown source


Source of documents: 1, 2

Ref


Resources


Page (Debug)

Page VariableValue
Name "Resource Order C"
Title "Resource Order C"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/resources-order-c/"
RelPermalink "/posts/resources-order-c/"
Data
page.Data{} (type:page.Data)
NextPageResource Order B
PrevPageGlobs for subdirs in bundles in resources -> src front-matter 4
NextInSectionResource Order B
PrevInSectionDate + Time (behind UTC)

Page Params (Debug)

maps.Params{"author":[]string{"Kaushal Modi"}, "date":time.Date(2018, time.January, 22, 14, 48, 0, 0, time.Location("")), "draft":false, "iscjklanguage":false, "lastmod":time.Date(2018, time.January, 22, 14, 49, 27, 0, time.Location("")), "publishdate":time.Date(2018, time.January, 22, 14, 48, 0, 0, time.Location("")), "resources":[]map[string]interface {}{map[string]interface {}{"params":map[string]interface {}{"icon":"pdf", "ref":90564568}, "src":"documents/guide.pdf", "title":"Instruction Guide"}, map[string]interface {}{"params":map[string]interface {}{"icon":"pdf", "ref":90564572}, "src":"documents/checklist.pdf", "title":"Document Checklist"}, map[string]interface {}{"params":map[string]interface {}{"icon":"pdf", "ref":90564687}, "src":"documents/photo_specs.pdf", "title":"Photo Specifications"}, map[string]interface {}{"params":map[string]interface {}{"icon":"word"}, "src":"documents/payment.docx", "title":"Proof of Payment"}}, "tags":[]string{"resources"}, "title":"Resource Order C"} (type:maps.Params)

Resources (Debug)

Resource VariableValue
Name "documents/checklist.pdf"
Title "Document Checklist"
ResourceType "application"
Permalink "https://hugo-sandbox.netlify.com/posts/resources-order-c/documents/checklist.pdf"
RelPermalink "/posts/resources-order-c/documents/checklist.pdf"
Params
maps.Params{"icon":"pdf", "ref":90564572} (type:maps.Params)
Resource VariableValue
Name "documents/guide.pdf"
Title "Instruction Guide"
ResourceType "application"
Permalink "https://hugo-sandbox.netlify.com/posts/resources-order-c/documents/guide.pdf"
RelPermalink "/posts/resources-order-c/documents/guide.pdf"
Params
maps.Params{"icon":"pdf", "ref":90564568} (type:maps.Params)
Resource VariableValue
Name "documents/payment.docx"
Title "Proof of Payment"
ResourceType "application"
Permalink "https://hugo-sandbox.netlify.com/posts/resources-order-c/documents/payment.docx"
RelPermalink "/posts/resources-order-c/documents/payment.docx"
Params
maps.Params{"icon":"word"} (type:maps.Params)
Resource VariableValue
Name "documents/photo_specs.pdf"
Title "Photo Specifications"
ResourceType "application"
Permalink "https://hugo-sandbox.netlify.com/posts/resources-order-c/documents/photo_specs.pdf"
RelPermalink "/posts/resources-order-c/documents/photo_specs.pdf"
Params
maps.Params{"icon":"pdf", "ref":90564687} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "ee76aa3104a3ea61389e50140fcad013"
BaseFileName "index"
TranslationBaseName "index"
Lang "en"
Section "posts"
LogicalName "index.md"
Dir "posts/resources-order-c/"
Ext "md"
Path "posts/resources-order-c/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]