I am trying to make the main page of the website have a list of articles that will automatically update itself every time a new 'article' sub page is created.
So if the main page is called Home, then organized into sub folders would be Home/Folder1 and then Folder1 would have sub pages organized by year/month, so Home/Folder1/2019/June and Home/Folder1/2019/May but I only want to show the 'articles' from the most recent (or first child) folder in this case Home/Folder1/2019/June.
I've considered Home/Folder1/{2}/{3}/% however this seems to take all articles under Home/Folder1 alternatively I've tried to use macros that I tested with the macro console such as Substring(DateTime.CurrentDate, 5, 4) to get the current year but that hasn't worked either.
An example with macro would be Home/Folder1/{% Substring(DateTime.CurrentDate, 5, 4) |(identity)GlobalAdministrator%}/June/%
Edit: I should mention the path I'm typing this into is part of the repeater web part