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: Addressed NITs Created July 20, 2017, 12:37 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
« no previous file with comments | « globals/sitemap.py ('k') | includes/blog/recent-aac.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « globals/sitemap.py ('k') | includes/blog/recent-aac.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld