-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Views and lists of content based on page metadata (e.g. for blogs, galleries, site navigation, etc) #840
Comments
In my mind, blogging is a special case of "show a list of site content that is filtered and/or sorted by page metadata values". So I think there are two nested issues here:
I'm separating these out in-part because I think that use-cases like the ones described in the issue below could also be served by this functionality: Once you created the ability to "give me a list of pages based on their metadata", you could extend that to something like a "notebook sharing gallery" that could show a gallery of MyST content (each backed by a notebook) where the metadata used for filtering was something like "uses dataset |
I just realized that this is very similar to the dataviews plugin for obsidian, so I added a link there in the top comment |
A hand-rolled blog for inspirationI spent some time updating my blog to use the new myst engine. As part of this, I wrote a very basic Python plugin for MyST that parses source files in my blog and displays it as a list + RSS feed. I'll share links below in case it's helpful for any inspiration. https://github.com/choldgraf/choldgraf.github.io/blob/main/src/blogpost.py And here are two little posts about it: https://chrisholdgraf.com/blog/2024/mystmd-with-the-blog |
Proposal
There are many cases where somebody wants to display views of subsets of content and data. For example:
blog/*
, with optional filtering by tag, category, etc.To first order, a blog could be considered as a dynamic view over appropriately annotated documents. If we add support for additional metadata, such as tags, and the ability to select and render subtrees according to these tags, then we could implement basic blog support. We might also want to be able to specify the authoring date.
The blog theme would benefit from a filter / home view that previews the various subdocuments. We'd be interested in getting this working for 2i2c's blog, and later this might bear fruit for The Turing Way's "Pathway" mechanism.
Inspiration
The text was updated successfully, but these errors were encountered: