Commit 72ceec4f authored by Kaushal Modi's avatar Kaushal Modi

Add test for counter in name and title

parent e8302f56
......@@ -1843,6 +1843,14 @@ happens during the second "fetch" of ="documents/photo_specs.pdf"=.
*** Ref
- {{{hugoissue(4334)}}} → [[https://discourse.gohugo.io/t/unexpected-replacement-of-counter-in-resources-title-name/10217/1][discourse discussion]] → {{{hugoissue(4335)}}}
- [[https://github.com/gohugoio/hugoDocs/issues/308#issuecomment-360844191][Ref]]
** Resource Counters Name and Title :counter:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: resources-counters-name-and-title
:EXPORT_FILE_NAME: index
:EXPORT_HUGO_RESOURCES: :src "*specs.pdf" :title "Specifications #:counter"
:EXPORT_HUGO_RESOURCES+: :src "**.pdf" :name "pdf-file-:counter"
:END:
Testing separate counters for =Name= and =Title=.
** Resource Order A
:PROPERTIES:
:EXPORT_HUGO_RESOURCES: :src "images/header.*" :name "header"
......
../resources-order-a/documents/checklist.pdf
\ No newline at end of file
../resources-order-a/documents/guide.pdf
\ No newline at end of file
+++
title = "Resource Counters Name and Title"
author = ["Kaushal Modi"]
tags = ["resources", "counter"]
draft = false
[[resources]]
src = "*specs.pdf"
title = "Specifications #:counter"
[[resources]]
src = "**.pdf"
name = "pdf-file-:counter"
+++
Testing separate counters for `Name` and `Title`.
../resources-order-a/documents/photo_specs.pdf
\ No newline at end of file
../resources-order-a/documents/photo_specs.pdf
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment