Skip to content

Commit

Permalink
Fixed bug in structure service constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
tidyui committed Jan 3, 2021
1 parent 665db80 commit 4e01f00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Statica/Services/StaticaService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/Statica/Statica.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>0.3.3</Version>
<Version>0.3.4</Version>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<PackageId>Statica</PackageId>
<PackageVersion>0.3.3</PackageVersion>
<PackageVersion>0.3.4</PackageVersion>
<Authors>Håkan Edling</Authors>
<Description>Piranha Module for generating a partial page structure from local markdown files.</Description>
<Copyright>Copyright 2019-2021 (c) Håkan Edling</Copyright>
Expand Down

0 comments on commit 4e01f00

Please sign in to comment.