From 4cb2fa55e02406ceb67bbce4cb16324bf90e717e Mon Sep 17 00:00:00 2001 From: Ondrej Rehounek <ondra.rehounek@seznam.cz> Date: Thu, 11 Aug 2022 11:00:04 +0200 Subject: [PATCH] main: articles page skeleton --- main/templates/main/main_articles_page.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main/templates/main/main_articles_page.html diff --git a/main/templates/main/main_articles_page.html b/main/templates/main/main_articles_page.html new file mode 100644 index 000000000..470fad245 --- /dev/null +++ b/main/templates/main/main_articles_page.html @@ -0,0 +1,14 @@ +{% extends "main/base.html" %} + +{% block content %} + {# nemame design #} + <header> + <h1 itemprop="headline" class="head-alt-md md:head-alt-lg max-w-5xl mb-8">{{ page.title }}</h1> + </header> + + <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8"> + {% for a in articles %} + {% include "shared/article_preview.html" with article=a %} + {% endfor %} + </div> +{% endblock %} -- GitLab