Sankofa Journal Step 4: The Layout

Build base.html with blocks for the title and the content, plus the site header and footer. Then rewrite the index and detail templates to extend it. Use {% empty %} on the post list so the empty state is written now rather than discovered later. Every link must use {% url %} with a route name, not a typed path. Then check the rendered HTML: the heading structure should make sense read on its own, because that is what a screen reader and a search engine both see.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 5: Models →