schollz / cowyo

A feature-rich wiki webserver for minimalists :cow: :speech_balloon:
https://cowyo.com/
MIT License
920 stars 69 forks source link

Page types #114

Open DanielHeath opened 6 years ago

DanielHeath commented 6 years ago

Currently, all pages are just plain markdown, but they can be (eg) published, have meta-info, etc.

They can also be shown as a list, and there's open proposals to add other rendering styles (eg workflowy-style) and non-text file types (file uploads).

With that in mind, would it make sense to have a set of page types:

schollz commented 6 years ago

This is a good idea. I think it could be useful to do something like this in the next iteration? I don't know if the logic in the current version is general enough to be compatible.

DanielHeath commented 6 years ago

Having thought about this a bit more, I think each page could have a 'default action' (stored with the page) rather than a page type. That would also make it easier to support #122