From 4e01f00414a312dc3e40ec0189452dce288398ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akan=20Edling?= Date: Sun, 3 Jan 2021 21:07:38 +0100 Subject: [PATCH] Fixed bug in structure service constructor. --- src/Statica/Services/StaticaService.cs | 3 ++- src/Statica/Statica.csproj | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Statica/Services/StaticaService.cs b/src/Statica/Services/StaticaService.cs index bdfaf9f..f1529ec 100644 --- a/src/Statica/Services/StaticaService.cs +++ b/src/Statica/Services/StaticaService.cs @@ -28,7 +28,8 @@ public StaticaService(params StaticStructure[] structures) foreach (var structure in structures) { _structures[structure.Id] = - new StructureService(structure.Id, structure.BaseSlug, structure.DataPath); + new StructureService(structure.Id, structure.BaseSlug, + structure.DataPath, structure.Title); } } diff --git a/src/Statica/Statica.csproj b/src/Statica/Statica.csproj index 2003063..24a0cdf 100644 --- a/src/Statica/Statica.csproj +++ b/src/Statica/Statica.csproj @@ -2,14 +2,14 @@ netcoreapp3.1 - 0.3.3 + 0.3.4 true true true snupkg Statica - 0.3.3 + 0.3.4 Håkan Edling Piranha Module for generating a partial page structure from local markdown files. Copyright 2019-2021 (c) Håkan Edling