Revert "dynamic: DynamicContentPostList: Link using UrlProvider::pageByTitle()"
This reverts commit 9b35e43161.
			
			
This commit is contained in:
		| @@ -25,13 +25,12 @@ std::string DynamicContentPostList::render() | ||||
| 	stream << postListBegin; | ||||
| 	for(auto &pair : pageList) | ||||
| 	{ | ||||
| 		std::string title = pageDao->find(pair.first)->title; | ||||
| 		std::string link = this->urlProvider->pageByTitle(title); | ||||
| 		std::string link = this->urlProvider->page(pair.first); | ||||
| 		std::string date = utils::toISODate(pair.second); | ||||
| 		Varreplacer replacer{"{"}; | ||||
| 		replacer.addKeyValue("url", link); | ||||
| 		replacer.addKeyValue("date", date); | ||||
| 		replacer.addKeyValue("title", title); | ||||
| 		replacer.addKeyValue("title", pageDao->find(pair.first)->title); | ||||
|  | ||||
| 		stream << replacer.parse(postLink); | ||||
| 	} | ||||
|   | ||||
		Verwijs in nieuw issue
	
	Block a user