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