battlefleet updated
This commit is contained in:
@@ -19,15 +19,21 @@ struct Story: ArticlePage {
|
||||
.cornerRadius(20)
|
||||
.frame(maxHeight: 300)
|
||||
}
|
||||
|
||||
if let tags = article.tags {
|
||||
Section {
|
||||
Text("Tagged with: \(tags.joined(separator: ", "))")
|
||||
|
||||
Text("\(article.estimatedWordCount) words; \(article.estimatedReadingMinutes) minutes to read.")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Text(article.text)
|
||||
Divider()
|
||||
Group {
|
||||
HStack {
|
||||
if let tags = article.tags {
|
||||
Text("Tags: \(tags.joined(separator: ", "))")
|
||||
}
|
||||
Spacer()
|
||||
Text("Length: \(article.estimatedWordCount) words/\(article.estimatedReadingMinutes) minutes to read.")
|
||||
|
||||
}
|
||||
Text("Published: \(article.date)")
|
||||
.horizontalAlignment(.center)
|
||||
}
|
||||
.foregroundStyle(.gray)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user