statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.
https://statiq.dev/web
Other
1.64k stars 236 forks source link

Hard coded page title "Archive" in recipe blog #864

Closed deerchao closed 2 years ago

deerchao commented 4 years ago

https://github.com/Wyamio/Wyam/blob/8dee4f1e2b7c633658c6c05253ba9fc5914b117f/src/recipes/Wyam.Blog/Blog.cs#L135

This makes it difficult to customize or translate themes. This could be resolved by changing it into:

Title = (doc, ctx) => doc.WithoutSettings.Get(BlogKeys.Title, "Archive"),
daveaglick commented 2 years ago

I'm slowly working on cleaning up some of the issues that came over from Wyam. Since this one is pretty old I'm going to go ahead and close it. Please don't hesitate to comment or open a new one if it turns out this issue is still relevant in Statiq.