Answers.Body: <p>The way I've done this in previously is in your templates have a directory titled <code>Resources</code> and inside that directory another directory titled <code>_types</code></p>
  
  <p>Within the <code>_types</code> directory I will have the code to output the content based on the entry type. I would name each of those templates <code>ENTRY-TYPE-HANDLE.html</code></p>
  
  <p>The on your Resources index user the following:
  <code>{% include "resources/_types/" ~ entry.type %}</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-05T14:57:06.240Z
Answers.Text: How to you handle index page for those entry types?
Answers.UserDisplayName: Danielle Frappier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-05T19:36:43.793Z
Answers.Text: I actually think I figured out a way to make the index template. I just used the routing so for the route resources/webinars I pointed it to an index template for webinars.
Answers.UserDisplayName: Danielle Frappier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-06T08:18:18.873Z
Answers.Text: @DanielleFrappier Just name your index templates the same as the entry type name, e.g: whitepaper.twig
Answers.UserDisplayName: Seth Warburton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-05T14:55:13.850Z
Answers.LastActivityDate: 2018-04-05T14:55:13.850Z
Answers.UserDisplayName: Tad Ward
Body: <p>I am looking for suggestion on how to setup a resource section on a site I'm building. Here is the structure.</p>
  
  <p>Resources - Index</p>
  
  <p>Entry type of resources
  Webinars 
  -Webinar Entry (template for a single webinar)
  -Webinar Index (all webinars)
  Whitepapers
  -Whitepaper Entry (template for a single whitepaper)
  -Whitepaper Index (all whitepapers)
  Ebooks
  -Ebook Entry (template for a single ebook)
  -Ebook Index (all ebooks)</p>
  
  <p>I was originally thinking to this as a channel, but how to I create indexes for the entry types: webinars, whitepapers, and ebooks?</p>
  
Tags: <craft3><channels>
Title: Channel Section with individual entry template and index templates?
ThreadText: # Channel Section with individual entry template and index templates?
  
  (Asked by: username_0 on 2018-04-05)
  
  I am looking for suggestion on how to setup a resource section on a site I'm building. Here is the structure.
  
  Resources - Index
  
  Entry type of resources
  Webinars
  -Webinar Entry (template for a single webinar)
  -Webinar Index (all webinars)
  Whitepapers
  -Whitepaper Entry (template for a single whitepaper)
  -Whitepaper Index (all whitepapers)
  Ebooks
  -Ebook Entry (template for a single ebook)
  -Ebook Index (all ebooks)
  
  I was originally thinking to this as a channel, but how to I create indexes for the entry types: webinars, whitepapers, and ebooks?
  
  **Tags:** craft3, channels
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-05. Score: 2 | Accepted answer
  
  The way I've done this in previously is in your templates have a directory titled `Resources` and inside that directory another directory titled `_types`
  
  Within the `_types` directory I will have the code to output the content based on the entry type. I would name each of those templates `ENTRY-TYPE-HANDLE.html`
  
  The on your Resources index user the following:
  `{% include "resources/_types/" ~ entry.type %}`
  
  > **Comments:**
  > **username_0**: How to you handle index page for those entry types?  
  > **username_0**: I actually think I figured out a way to make the index template. I just used the routing so for the route resources/webinars I pointed it to an index template for webinars.  
  > **username_2**: @username_0 Just name your index templates the same as the entry type name, e.g: whitepaper.twig  
  
  ---
  
  