Please tell me if this is the correct way or if there’s a better way that I don’t see, I’m grabbing the url and using that to point to my content folder.
No, that is not how Section lists should be rendered.
One doesn’t really need to manipulate the Permalink string to point to a specific Section.
If you want to specify different layouts for different Sections, you can use simpler methods like:
Provide the relevant markup, within a condition like: if eq .Section "blog" etc, in the main list template under /layouts/_default/list.html
OR
Provide a different template for each Section (see: the lookup order for Sections for information regarding the location of a list template for a specific Section).
Okay it’s a little confusing in the docs, if I understand correctly to use the lookup order of multiple different lists for content my structure looks like this?
content--|
blog
first_blog.md
service
my_service.md
layout
_default
list.html
blog
list.html
service
list.html