Author Topic: index_links HTML template variable returns separators where not expected  (Read 143 times)

Offline derek

  • Newcomer
  • *
  • Posts: 7
    • View Profile
Hello!

In a recent experiment making a multi-page gallery with the Photo Mechanic HTML Export feature, I am seeing that the {index_links} HTML template variable returns separators when there is only one index page. I put {index_links} in my index.html file and it nicely returns the expected navigation links when there are a large number of images that would require multiple index pages, but when there is only one index page's worth of images, it appears to return spaces and "|" separator characters where I assume it should return an empty string. In my experiment, it returned:

Code: [Select]
  |    |  
If I can provide any further details just let me know - I'm glad to contribute!

Thanks in advance for your help and kind regards,
Derek

Offline Jerry H

  • Camera Bits Staff
  • Jr. Member
  • *****
  • Posts: 71
    • View Profile
    • Camera Bits, Inc.
Hi Derek,

Thank you for reporting this issue. We'll look into it right away.

-Jerry

Offline derek

  • Newcomer
  • *
  • Posts: 7
    • View Profile
You're very welcome and thanks for looking in to it Jerry!

Kind regards,
Derek