Channel not providing data to template

Hello,

I’m having a issue using a channel. I’ve setup my routes as follows:

routes:
  /painting/:
    controllers: channel
    filter: tag:[painting]
    template: index

collections:
  /:
    permalink: /oeuvre/{year}/{primary_tag}/{slug}/
    template: index

taxonomies:
  tag: /works/{slug}/
  author: /author/{slug}/

and have the following template for index:
(this template is from the edge theme)

{{!< default}}

<div class="content-area">
    <main class="site-main container">
        <div class="post-feed">
            <div class="grid-item grid-sizer"></div>
            {{#foreach posts}}
                {{> "loop"}}
            {{/foreach}}
        </div>
        {{pagination}}
    </main>
</div>     

Here you can see the results which is an error message about pagination not available. I used the stock edge them index.hbs as noted should be possible on this tutorial

https://kyleparkercunningham.com/painting/

But you can see that the posts to appear when you go to my taxonomy listing for the tag painting:

So ghost is seeing them one way but not another.

What am I doing wrong? Might it be the template or my routes?

Thank you in advance,
Kyle

You have a typo:

controllers: channel

Should be

controller: channel

:slight_smile:

Thank you @Hannah!

But also, urghhhhhh. That was such a simple mistake and I spent too many hours on figuring it out to be that!!

I guess that is what a really long day of diving into the internals of ghost will do for you.

Again, thank you.
Kyle