Contrariwise
Contrariwise

I wish there were a way on micro.blog to write different kinds of posts. I forget the terminology but I’ve used hugo in the past to have a few distinct category of records. I want to do something like that for EG media reviews.

|
Embed
Progress spinner
jsonbecker
jsonbecker

@Contrariwise post types with distinct layouts would be nice, but they’re really only useful when you customize front matter which is also not supported.

|
Embed
Progress spinner
Contrariwise
Contrariwise

@jsonbecker I have sort of a weird vision where I think post types would solve 100% of what I think I want to do without frontmatter, but it’s probably a weird artifact of the specific use case.

|
Embed
Progress spinner
In reply to
jsonbecker
jsonbecker

@Contrariwise now I’m curious, as I don’t think post types work meaningfully at all without custom front matter.

|
Embed
Progress spinner
Contrariwise
Contrariwise

@jsonbecker the end result I think I want to achieve is a right-hand sidebar of roleplaying game books that I intend to review, including those not yet reviewed. Frontmatter would certainly help and could be used to do neat things, but I think just having the separate post type would make it easier to iterate in a template.

|
Embed
Progress spinner
Contrariwise
Contrariwise

@Contrariwise in effectively all other ways I'd want them to appear and behave like a normal post, and maybe if I better understood categories/tags they'd get me what I need. Post types is the hammer I know.

|
Embed
Progress spinner
jsonbecker
jsonbecker

@Contrariwise that sounds like a partial, not a post type, that uses a data source.

|
Embed
Progress spinner
Contrariwise
Contrariwise

@jsonbecker I might be able to make that work. It creates a double-entry situation that I think I could have avoided with post types, but I've never tried to do this exact thing so maybe I couldn't have.

|
Embed
Progress spinner
Contrariwise
Contrariwise

@jsonbecker I could also just have a partial of hand-coded links, which would work, but I would have liked it if I could have tied the posts-that-are-reviews directly to the data object such that when I posted one it would go "live" in the sidebar. But the more I think about that, the more I realize I probably needed frontmatter to do it.

|
Embed
Progress spinner
jsonbecker
jsonbecker

@Contrariwise oh, even easier. Just make it a category and have a partial that does a range with pagination for pages that match that category and define that list view. No need for a type-- just a partial.

|
Embed
Progress spinner
Contrariwise
Contrariwise

@jsonbecker I'll give that a try!

|
Embed
Progress spinner