Remove unneeded warning
This commit is contained in:
parent
e8513a896b
commit
9965e1a3ff
@ -20,7 +20,6 @@ struct ThumbnailListGenerator {
|
||||
var content = [ThumbnailKey : String]()
|
||||
|
||||
if item.state.hasThumbnailLink {
|
||||
#warning("If page in language is missing, link to different language")
|
||||
let fullPageUrl = item.fullPageUrl(for: language)
|
||||
let relativePageUrl = parent.relativePathToFileWithPath(fullPageUrl)
|
||||
content[.url] = "href=\"\(relativePageUrl)\""
|
||||
|
Loading…
Reference in New Issue
Block a user