@foreach (IDocument post in Document.GetChildren()) { IDocument topicDocument = Outputs[nameof(Archives)][$"blog/topics/{post.GetString("topic")}/index.html"]; string excerpt = post.GetString(Statiq.Html.HtmlKeys.Excerpt);
@post.GetString("Title")
@post.GetDateTime("Published").ToLongDateString() in @topicDocument.GetTitle()
@if (!string.IsNullOrEmpty(excerpt)) { @Html.Raw(excerpt)

Read more...

}
} @{ IDocument older = Document.GetDocument(Keys.Next); IDocument newer = Document.GetDocument(Keys.Previous); } @if (older != null || newer != null) {
@if (older != null) { Older }
@if (newer != null) { Newer }
}