{{craftSnippets}}
Home Articles Plugins Starter theme Components on Github Gists About
  • Home
  • Tags

#routing

4 years ago

Fetching routes into Twig templates in Craft CMS

Most Craft developers hardcode routes structure within links created in Twig templates. There is however a way to fetch routes directly into templates and avoid creating duplicate code.
#routing #macro
Copyright ©2023 Piotr Pogorzelski