+ Tag: @Tag
+ @if ((Posts?.Any() != true) && (Pages?.Any() != true))
+ {
+ No content found for this tag.
+ }
+ else
+ {
+ @if (Posts?.Any() == true)
+ {
+
+ Posts
+
+ @foreach (var post in Posts!)
+ {
+ -
+ @post.Metadata.Title
+ @if (post.Metadata.Published.HasValue)
+ {
+ (@post.Metadata.Published.Value.ToString("yyyy-MM-dd"))
+ }
+
+ }
+
+
+ }
+ @if (Pages?.Any() == true)
+ {
+
+ }
+ }
+
diff --git a/test/ScissorHands.Web.Tests/Generators/StaticSiteGeneratorTests.cs b/test/ScissorHands.Web.Tests/Generators/StaticSiteGeneratorTests.cs
index abcfa37..69c6244 100644
--- a/test/ScissorHands.Web.Tests/Generators/StaticSiteGeneratorTests.cs
+++ b/test/ScissorHands.Web.Tests/Generators/StaticSiteGeneratorTests.cs
@@ -101,6 +101,14 @@ public async Task Given_ContentDocuments_When_BuildAsync_Invoked_Then_It_Should_
.RenderAsync