OLD | NEW |
| (Empty) |
1 {% if get_pages_metadata({"parent": "blog/index", "committee": "true"}) %} | |
2 <div class="bg-accent"> | |
3 <section class="center group-container"> | |
4 <h2> | |
5 {{ "Recent updates about the committee" | translate("recent-acc-heading",
"Recent Acceptable Ads Committee heading") }} | |
6 </h2> | |
7 <div class="group group-4"> | |
8 {% for post in limit_sort(get_pages_metadata({"parent": "blog/index", "commi
ttee": "true"}), 4) %} | |
9 <div class="card"> | |
10 <article> | |
11 <h3>{{ post["title"] }}</h3> | |
12 <footer> | |
13 <a class="btn-outline-primary" href="{{ post["page"] }}"> | |
14 {{ "Read more" | translate("read-more", "Button text") }} | |
15 </a> | |
16 </footer> | |
17 </article> | |
18 </div> | |
19 {% endfor %} | |
20 </div> | |
21 </section> | |
22 </div> | |
23 {% endif %} | |
OLD | NEW |