Skip to content
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

Pages #2717

Open
alexwilson opened this issue Jul 21, 2024 · 0 comments
Open

Pages #2717

alexwilson opened this issue Jul 21, 2024 · 0 comments
Assignees
Milestone

Comments

@alexwilson
Copy link
Owner

alexwilson commented Jul 21, 2024

Background

Today there are eight types of page in this website:

  1. Homepage
  2. About Me
  3. Blog
  4. Article (aka Content)
  5. Topic
  6. Talk (aka Content)
  7. Talks
  8. Consultancy

These fall into three categories:

  1. Content: (Article, Talk)
  2. Lists of Content: (Blog, Talks, Topic)
  3. Landing Pages: (Homepage, About Me, Consultancy)

To meet a need of allowing easier customisation and maintenance of all of these, I believe that 2 and 3 can be consolidating into two types: Pages & Lists.

What is a page?

A Page is a first-class type, sitting alongside Article/Content.
When it exists, it supersedes a list.
It is an editable list of blocks. There are two types of block:

  1. Basic
  2. Reference
  3. Compositional

A basic block is the default type of block, is specific to a page, and outputs items like a title or some copy.

A reference block is slightly trickier, an allows referencing one or more things in another place. For example, they might allow referencing an article (e.g. "featuring" articles) or a topic (pulling in all posts).

A compositional block allows putting multiple blocks together in interesting ways, for example by stacking two other blocks side-by-side. It might allow placing several "featured" posts side-by-side.

What is a list?

A more formal version of a list today, a list is a collection of content ordered by date. The existing topic view will act as a fallback for all content.

@alexwilson alexwilson added this to the Pages milestone Jul 21, 2024
@alexwilson alexwilson self-assigned this Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant