Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-795

Sitemap does not use navigationTitle due to templating error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 1.4.4
    • paragraphs

      We've been making a few small changes to the sitemap and I noticed the following in the /templating-kit/paragraphs/features/siteMap.ftl template.

      [#-- Assigns: Get title to use for the item (navigationTitle or page title) --]
      [#assign titleToUse = content.titleToUse!"title"/]
      

      I assume that this should instead read:

      [#-- Assigns: Get title to use for the item (navigationTitle or page title) --]
      [#assign titleToUse = content.navigationTitle!"title"/]
      

      as far as I can tell, no content node has any nodeItem called 'titleToUse'

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              robpblake Rob Blake
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: