Semantic HTML and post feed #23

Merged
Jaculabilis merged 10 commits from tvb/post-feed into develop 2021-10-02 00:18:32 +00:00
Owner

A few major changes here:

  • Semantic HTML! No more div.contentblock, div#sidebar, div#content. Now the page uses <nav>, <main>, <article>, and <section> elements.
  • No more template content blocks. Page templates declare the entire page content in one block. <section> is styled to replace content blocks.
  • Finally, the post feature is implemented. It only supports creating posts with non-citation formatting; there is no throttling, deletion, editorial review, at-mention, or paging.
A few major changes here: * Semantic HTML! No more `div.contentblock`, `div#sidebar`, `div#content`. Now the page uses `<nav>`, `<main>`, `<article>`, and `<section>` elements. * No more template content blocks. Page templates declare the entire page content in one block. `<section>` is styled to replace content blocks. * Finally, the post feature is implemented. It only supports creating posts with non-citation formatting; there is no throttling, deletion, editorial review, at-mention, or paging.
Jaculabilis added 9 commits 2021-10-02 00:14:22 +00:00
a6399e7e22 Refactor template content blocks for greater flexibility
There is not much value to be gotten out of creating Jinja blocks and
appending them to a list when nothing particularly interesting is done
with the list. With changes to move more towards semantic HTML, as well
as more ease of access to data in the template engine in the new code,
it is preferable to leave block division to the page template by making
it a property of the <section> tag. This also allows creating blocks in
Jinja iterators, which is not possible to do cleanly in the idiom being
replaced here.
Jaculabilis added 1 commit 2021-10-02 00:18:22 +00:00
Jaculabilis merged commit 8754823556 into develop 2021-10-02 00:18:32 +00:00
Jaculabilis deleted branch tvb/post-feed 2021-10-02 00:18:37 +00:00
Jaculabilis added this to the v1.0.0 project 2021-10-08 05:29:11 +00:00
Jaculabilis removed this from the v1.0.0 project 2021-10-08 05:34:33 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Jaculabilis/amanuensis#23
No description provided.