Page MenuHomeMusing Studio

Support user-generated blog index templates
Open, NormalPublic12 Points

Description

Overview

Enable users to supply a custom template file for more advanced publication layouts.

Use Case

Some publishers may want a non-standard home page that pulls in multiple streams of posts.

Users

#fight_back_news

Dependencies

  • T821 for creating and editing the landing page template
  • T813 for querying different post feeds
  • T810 so users only need to develop templates that show content -- not show content and manage posts.

Implementation

Provide a web-based editor for users to create templates in (T821). They'll define the body of the landing page:

{{define "content"}}
  <div id="featured">
    {{featuredPost}}
  </div>
  <div id="content">
    {{latestPosts}}
  </div>
  <div class="tagged">
    {{taggedPosts "category-here"}}
  </div>
{{end}}

latestPosts and taggedPosts would be the names of functions included in the final template, which make the corresponding queries (requires T813)

Revisions and Commits

Event Timeline

matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
matt changed the task status from Open to Waiting.Feb 17 2021, 5:07 PM
matt added a parent task: Restricted Maniphest Task.Feb 17 2021, 11:26 PM
matt changed the status of subtask T821: Blog layout templating system from Waiting to Open.
matt changed the task status from Waiting to Open.Feb 28 2023, 9:13 PM
matt added a commit: Restricted Diffusion Commit.Apr 4 2023, 4:15 PM
matt added a commit: Restricted Diffusion Commit.Apr 13 2023, 6:48 PM
matt added a commit: Restricted Diffusion Commit.Apr 24 2023, 5:26 AM
matt added a commit: Restricted Diffusion Commit.May 11 2023, 10:04 PM
matt moved this task from Backlog to v0.17 on the WriteFreely board.
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 15 2024, 3:07 AM
matt set the point value for this task to 12.Oct 15 2024, 5:49 PM