Hello!
I am working iniside my projects /list.html, where I have a small
navigation sidebar containing this bit of code:
<ul>
{{ range $.Page.Pages }}
<li class="custom-list-item ">
<a href="{{ .URL }}"> { .Title }} </a>
</li>
{{ end }}
</ul>
<div> Page content </div>
So this basically would display all of my .md files now if i press on any of the list items it takes me to a new page using the single.html template, but I want the .md file content to be displayed into the page content section while inside list.html so we would never have to change page.
How would I go by changing the data while still being inside of list.html?