I’m having same issue. I was expecting the posts inside the collection manual use manual.hbs. But, just the the /manual/ are using this template.
@DavidDarnes can you see some error on routes.yaml?
The posts with /manual/slug, are getting the posts.hbs template instead.
I already restarted ghost too. Here my routes and template manual.hbs
routes:
/estrategia/:
controller: channel
filter: tag:[manual,estrategia]
collections:
/:
permalink: /{slug}/
template: index
filter: tag:-manual
/manual/:
permalink: /manual/{slug}/
template: manual
filter: primary_tag:manual
order: featured desc, published_at desc
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Manual.hbs
{{!< default}}
{{!--manual.hbs--}}
{{#post}}
<main class="eis-manual-main">
<aside class="eis-manual-sidebar">
<h2><a href="#">Eis o Manual</a></h2>
<nav>
{{#get "posts" filter="tag:manual" as |posts|}}
{{#foreach posts}}
<ul>
<li><a href="{{url}}">{{title}}</a></li>
</ul>
{{/foreach}}
{{/get}}
</nav>
</aside>
<section class="eis-manual-content">
<h1 class="eis-article-title">{{title}}</h1>
<h2 class="eis-article-excerpt">{{excerpt}}</h2>
<div class="eis-article-content">
{{content}}
</div>
</section>
</main>
{{/post}}
I was doing some research, it seems this post have same issue.
Posts at /manual/*slug-post* uses the template defined in routes.yml automatically, right?