Hi,
So I want to make sitemap showing content from folders within content folder. But when I list them it’s showing a list of all pages on website including tags. My question is, how can I change this code to list only content from specific folder e.g.: content/adventure/
<div>
<h3>Category</h3>
<ul>
{{ range $name, $items := .Site.Pages.ByTitle }}
<li><a href="{{ .Permalink | relURL }}" title="{{ .Title }}">{{.Title}}</a></li>
{{ end }}
</ul>
</div>
Do I need to edit 800 posts to add category? Or is there an easier way?
Cheers!