How should I create the link to internal page in a template file ?
For instance, I have a subcategory which URL key is education
, how should it be called in my phtml file to get the page http://my.website.com/education.html
?
I'm currently using this:
<a href="<?php echo $block->getUrl('education.html') ?>">