Page MenuHomeMusing Studio

Expose different post feeds to blog template system
Closed, ResolvedPublic

Description

Overview

Blog templates (T812) should be able to access different collection queries:

  • Fetch latest posts
  • Fetch posts in chronological order
  • Fetch posts with a certain tag (requires T809 and T876)
  • Fetch a single post

We might also support these (needs more thought):

  • Fetch posts according to blog's Display Format

Implementation

When rendering a user-generated blog template, provide template functions for each of the above queries.

Revisions and Commits

Event Timeline

matt changed the task status from Open to Waiting.Feb 17 2021, 5:10 PM
matt created this task.
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

As another use case for this feature, a user on the forum wants to hide posts with a certain tag on their blog index page.

matt changed the task status from Waiting to Open.Jan 18 2023, 3:57 PM
matt claimed this task.

For now, we'll expose two feeds:

  • Current getPosts() (based on Display Format)
  • Posts from a given category (e.g. featured)
matt added a commit: Restricted Diffusion Commit.Apr 4 2023, 4:15 PM