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 resources
→ src
block.
Resources
Page (Debug)
Page Variable | Value | |
---|---|---|
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 |
| |
NextPage | Resource Order B | |
PrevPage | Globs for subdirs in bundles in resources -> src front-matter 4 | |
NextInSection | Resource Order B | |
PrevInSection | Date + 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 Variable | Value | |
---|---|---|
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 |
|
Resource Variable | Value | |
---|---|---|
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 |
|
Resource Variable | Value | |
---|---|---|
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 |
|
Resource Variable | Value | |
---|---|---|
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 |
|
File Object (Debug)
FileInfo Variable | Value |
---|---|
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" |