Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: includes/blog/all-posts.tmpl

Issue 29490624: Issue 5373 - Remove the "blog" from acceptableads.com and link to blog.acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created July 17, 2017, 12:42 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {% if get_pages_metadata({"parent": "blog/index"}) %}
2 <div class="bg-accent">
3 <section class="center group-container">
4 <h2 id="recent-posts">
5 {{ "Recent blog posts" | translate("recent-blog-posts", "Recent blog posts heading") }}
6 </h2>
7 <div class="row">
8 {% for post in limit_sort(get_pages_metadata({"parent": "blog/index"})) %}
9 <div class="card col-6">
10 <div class="row">
11 <div class="col-4">
12 <a href="{{ post["page"] }}">
13 <img
14 class="block"
15 src="{{ post["featured_img_url"] }}"
16 alt="{{ post["featured_img_alt"] }}">
17 </a>
18 </div>
19 <div class="col-8">
20 <a href="{{ post["page"] }}">
21 <h3>{{ post["title"] }}</h3>
22 </a>
23 </div>
24 </div>
25 </div>
26 {% endfor %}
27 </section>
28 </div>
29 {% endif %}
OLDNEW

Powered by Google App Engine
This is Rietveld