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

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

Issue 29657629: Issue 6211 - Fixed size of blog post thumbnails on mobile (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created Jan. 5, 2018, 2:46 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 | « no previous file | pages/blog/index.md » ('j') | pages/blog/index.md » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% if get_pages_metadata({"parent": "blog/index"}) %} 1 {% if get_pages_metadata({"parent": "blog/index"}) %}
2 <div class="bg-accent"> 2 <div class="bg-accent">
3 <section class="center group-container"> 3 <section class="center group-container">
4 <h2 id="recent-posts"> 4 <h2 id="recent-posts">
5 {{ "Recent blog posts" | translate("recent-blog-posts", "Recent blog posts heading") }} 5 {{ "Recent blog posts" | translate("recent-blog-posts", "Recent blog posts heading") }}
6 </h2> 6 </h2>
7 <div class="row"> 7 <div class="row">
8 {% for post in limit_sort(get_pages_metadata({"parent": "blog/index"})) %} 8 {% for post in limit_sort(get_pages_metadata({"parent": "blog/index"})) %}
9 <div class="card col-6"> 9 <div class="card col-6">
10 <div class="row"> 10 <div class="row">
11 <div class="col-4"> 11 <div class="col-4">
12 <a href="{{ post["page"] }}"> 12 <a href="{{ post["page"] }}">
13 <img 13 <img
14 class="block"
15 src="{{ post["featured_img_url"] }}" 14 src="{{ post["featured_img_url"] }}"
16 alt="{{ post["featured_img_alt"] }}"> 15 alt="{{ post["featured_img_alt"] }}">
17 </a> 16 </a>
18 </div> 17 </div>
19 <div class="col-8"> 18 <div class="col-8">
20 <a href="{{ post["page"] }}"> 19 <a href="{{ post["page"] }}">
21 <h3>{{ post["title"] }}</h3> 20 <h3>{{ post["title"] }}</h3>
22 </a> 21 </a>
23 </div> 22 </div>
24 </div> 23 </div>
25 </div> 24 </div>
26 {% endfor %} 25 {% endfor %}
27 </section> 26 </section>
28 </div> 27 </div>
29 {% endif %} 28 {% endif %}
OLDNEW
« no previous file with comments | « no previous file | pages/blog/index.md » ('j') | pages/blog/index.md » ('J')

Powered by Google App Engine
This is Rietveld