Listing of articles
We have prepared the database through the models and by including fake information with the necessary elements, enabling us to focus on how the customer is going to visualize the content.
Before building the different pages, we will need a base for all templates. In app/website/templates/base.html
, we include the main layout:
{% load static %} <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum- scale=1.0, minimum-scale=1.0"> <title>Example website</title> <link rel="stylesheet" href="{% static 'css/main.css' ...