Tag class, Tags options and IFrontMatterWithTags. #52
Conversation
✅ Deploy Preview for blazorstatic ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
for tags why not use attributes? we already use reflection to get the site's routes so it shouldn't be an issue i'm thinking something like this: class MyFrontMatter {
public string Title { get; set; }
[BlogTags]
public string[] categories { get; set; }
}that way the user can name the variable whatever they wish or omit it completely if they don't need it without us having to maintain 2 different interfaces |
That made me think about the Tags from a different perspective... Because Tags wont be Which means we need to "free" the IFrontMatter from anything that is not used as strongly typed metadata... Which means we need to put it in Post ( It is somehow getting together. I will see, how the Attribute goes along with it.. |
|
The |
Deploying blazorstatic with
|
| Latest commit: |
e3be540
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bf938d20.blazorstatic.pages.dev |
| Branch Preview URL: | https://rework-services.blazorstatic.pages.dev |
The initial idea was shifted significantly.
Now the pain points has been solved much smoother. The tags work as expected.