I tried the same with my site,
Content
| ├── Products
│ ├── product1.md
│ ├── product2.md
|
and in my layouts,
layouts
|-----Products
|--product1
|--list.html
|--product2
|--list.html
but not able to achieve it, the content inside the md file doesn’t populate, and i have a simple HTML flow inside list.html
<!DOCTYPE HTML>
<html lang="en">
<head>
{{- partial "head.html" . -}}
</head>
<body>
<section>
<div class="container">
{{.Title}}
{{.Content}}
</div>
</section>
{{- partial "header-s.html" . -}}
{{- partial "footer.html" . -}}
{{- partial "scripts.html" . -}}
and inside the product1.md
---
title: "product1"
date: 2020-04-20T10:29:28+05:30
draft: false
---
## product1
What should i change,
in future i may also have
/example.com/products/product-category1/product1
/example.com/products/product-category1/product2
… and so on
and also
/example.com/products/product-category2/product1
/example.com/products/product-category2/product1
…
How to achieve this using hugo, Thanks for your time