Demo site: file _sitemap_item.yaml

Hello

I’m currently learning a lot with the help of your demo site. I have a few questions about it:

File _sitemap_item.yaml

  • What are the Priority and Change Frequency options for a menu item used for?
  • What is the criteria when a Tailor file starts with an underscore?

Thanks!

Hey @martin.schaible,

Those are attributes from the sitemap specification:

  • Priority indicates the relative importance of a URL compared to other URLs on the site.
  • Change Frequency indicates how often the content is expected to change, such as daily, weekly, or monthly.

They are used when generating the XML sitemap and act as hints for search engines.

When a Tailor file starts with an underscore, it denotes a partial, which is a mixin. It is intended to be reused by other Tailor blueprints rather than treated as a standalone blueprint.

Good Morning @daftspunk

Thanks very much, very helpful!

I will follow these rules in the future as well. Makes sense.

Cheers and have a good day

1 Like