Skip to content

Commit

Permalink
add template for paid article list
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Jan 25, 2024
1 parent 40b61cc commit 4516717
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions lemarche/templates/cms/paid_article_list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{% extends "layouts/base.html" %}
{% load wagtailcore_tags wagtailimages_tags wagtailroutablepage_tags %}
{% block meta_description %}<meta name="description" content="{{ page.search_description }}">{% endblock %}
{% block title %}{{ page.seo_title }} {{ block.super }}{% endblock %}
{% block body_class %}p-ressources{{ block.super }}{% endblock %}
{% block breadcrumbs %}
<section>
<div class="container">
<div class="row">
<div class="col-12">
<nav class="c-breadcrumb c-breadcrumb--marche" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{% url 'wagtail_serve' '' %}">Accueil</a>
</li>
<li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
</ol>
</nav>
</div>
</div>
</div>
</section>
{% endblock breadcrumbs %}
{% block content %}
<section class="s-title-01 mb-0">
<div class="s-title-01__container container">
<div class="s-title-01__row row">
<div class="s-title-01__col col-12 col-lg-9">
<h1 class="s-title-01__title h1">
<strong>{{ page.title }}</strong>
</h1>
</div>
</div>
</div>
</section>
<section class="s-section mt-0 has-illustration-bg-02">
<div class="s-section__container container">
<div class="s-section__row row row-cols-1 row-cols-md-2 row-cols-lg-3 mt-5">
{% for article in article_list %}
<div class="s-section__col col mb-3 mb-lg-5">{% include "cms/article_item.html" with article=article %}</div>
{% endfor %}
</div>
</div>
</section>
{% endblock content %}

0 comments on commit 4516717

Please sign in to comment.