Statiq.Web icon indicating copy to clipboard operation
Statiq.Web copied to clipboard

Edited At/On metadata for blog recipie

Open M-Zuber opened this issue 7 years ago • 4 comments

It would be cool if there would be support in the official blog recipe for a metadata key of EditedOn/At that would display a tag line of Edited on: ... if present.

Happy to try and implement if this is something you would be interested in supporting.

M-Zuber avatar Nov 29 '17 20:11 M-Zuber

I'd love to see that as standard in the recipe and across all the blog themes. It'll require adding the metadata to the BlogKeys collection and the corresponding code comments on the Blog recipe class (for documentation). After that it's a matter of updating the themes to support the new optional front matter. Go for it if you want to try and tackle this one!

daveaglick avatar Nov 29 '17 20:11 daveaglick

I have started working on this, it will probably end up being a series of PRs to deal with all the recipes affected. what would be the best way to test the changes I am making to the themes?

M-Zuber avatar Dec 05 '17 13:12 M-Zuber

Easiest way to test is to specify a theme folder on the command line: https://github.com/daveaglick/daveaglick/blob/77c98185bf5730a96fd1506970d33c5e0c786738/build.cake#L41-L42

daveaglick avatar Dec 07 '17 17:12 daveaglick

sooo....... I think I have lost the code that I started writing for this Should this anyways just be closed and a new issue opened for Staiq?

// M-Zuber has been awarded the Necromancer badge 😄

M-Zuber avatar Feb 18 '20 08:02 M-Zuber