Articles / Twig
Jan 27. 2019 · by Helge Sverre
What is with the underscore in twig template filenames?

If a twig template has an underscore in the filename, it means that the template can not be viewed directly by going to mysite.com/templatename, useful for template files that are only included or used when there is an entry variable as not having this variable populated by craft will cause a template error.

Jun 21. 2018 · by Helge Sverre
Adding an "edit this page" link in Craft CMS

To make it easier for content editors (and frankly, yourself) it is useful to be able to click a link or button right on an article or entry page to go straight to the edit page for that entry, here is how.