Remove unneeded warning

This commit is contained in:
Christoph Hagen 2022-09-09 10:59:43 +02:00
parent e8513a896b
commit 9965e1a3ff

View File

@ -20,7 +20,6 @@ struct ThumbnailListGenerator {
var content = [ThumbnailKey : String]() var content = [ThumbnailKey : String]()
if item.state.hasThumbnailLink { if item.state.hasThumbnailLink {
#warning("If page in language is missing, link to different language")
let fullPageUrl = item.fullPageUrl(for: language) let fullPageUrl = item.fullPageUrl(for: language)
let relativePageUrl = parent.relativePathToFileWithPath(fullPageUrl) let relativePageUrl = parent.relativePathToFileWithPath(fullPageUrl)
content[.url] = "href=\"\(relativePageUrl)\"" content[.url] = "href=\"\(relativePageUrl)\""