Hi! I’ve edited routes.yaml to move my blog to /blog/ subdir and created home.hbs within the template folder. /blog/ seam working. but when I trying to open the root - getting 404.
Here is my Yaml file:
routes:
/: home
collections:
/blog/:
permalink: /blog/{slug}/
template: index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
and here is home.hbs
{{!< default}}
<div class="row">
<div class="content-wrapper content" data-aos="fade-up">
<!-- start: .articles -->
<div class="articles">
{{#foreach posts}}
{{#has tag="bgstyle"}}
{{> loop/bg-article}}
{{else}}
{{> loop/default-article}}
{{/has}}
{{/foreach}}
</div>
<!-- end: .articles -->
{{pagination}}
</div>
</div>
Any ideas?