I have a section - let’s call it
articles - where are two post types:
article, which are standard posts directly on the website (Example)
link, which obviously are links to external articles (Example)
Both of them are shown in a list, linked either to the internal or external article (see here). External articles are marked in the frontmatter of their files and the URL is there as a parameter as well.
Now I try to exclude the
links from rendering, so that they aren’t messing up my code (they aren’t shown anyway).
I already tried to give them a type and exclude them with
disableKinds. But this was a misunderstanding, since there can’t be more than one type in a section and
disableKinds can’t disable specific types.
So, how do I do that? Is there even a way? They still should be visible in the list.