Left: | ||
Right: |
OLD | NEW |
---|---|
1 {% extends "templates/default" %} | 1 {% extends "templates/default" %} |
2 | 2 |
3 {% set product = products[product_id] %} | 3 {% set product = products[product_id] %} |
4 | 4 |
5 {% block body %} | 5 {% block body %} |
6 [Breadcrumbs] | 6 <nav class="breadcrumbs"> |
juliandoucette
2017/10/13 11:39:55
NIT/Suggest: Add aria-label
Source: https://www.
ire
2017/10/16 14:17:42
Done.
| |
7 <ol class="container" itemscope itemtype="http://schema.org/BreadcrumbList"> | |
juliandoucette
2017/10/13 11:39:55
NIT: I'm guessing that you copied this from an exa
ire
2017/10/16 14:17:42
It was from the link you shared in issue #5440 act
| |
8 <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListIte m"> | |
9 <a itemscope itemtype="http://schema.org/Thing" itemprop="item" href="{{ p roduct.slug }}"> | |
10 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcse t="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | tr anslate(product_id+"-logo-alt", "Image alt text") }}"> | |
juliandoucette
2017/10/13 11:39:55
Isn't this logo supposed to be larger?
ire
2017/10/16 14:17:42
Done.
| |
11 <span itemprop="name">{{ product.full_name | translate(product_id+"-name ", "Product name") }}</span> | |
12 </a> | |
13 <meta itemprop="position" content="1" /> | |
14 </li> | |
15 <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListIte m"> | |
juliandoucette
2017/10/13 11:39:55
NIT/Suggest: add aria-current
Source: https://www
ire
2017/10/16 14:17:42
Done.
| |
16 <a itemscope itemtype="http://schema.org/Thing" itemprop="item" href="{{ p age }}"> | |
17 <span itemprop="name">{{ title | translate(get_page_name(page) + "-title ", "Article title") }}</span> | |
18 </a> | |
19 <meta itemprop="position" content="2" /> | |
20 </li> | |
21 </ol> | |
22 </nav> | |
7 | 23 |
8 <main id="main" class="container clearfix"> | 24 <main id="main" class="container clearfix"> |
9 <article class="article card {{ product_id }}-card section column two-thirds"> | 25 <article class="article card {{ product_id }}-card section column two-thirds"> |
10 <h1 class="article-heading"> | 26 <h1 class="article-heading"> |
11 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcse t="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | tr anslate( product_id+"-logo-alt", "Image alt text") }}"> | 27 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcse t="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | tr anslate( product_id+"-logo-alt", "Image alt text") }}"> |
12 | 28 |
13 {{ title | translate( get_page_name(page) + "-title", "Article title") } } | 29 {{ title | translate( get_page_name(page) + "-title", "Article title") } } |
14 </h1> | 30 </h1> |
15 | 31 |
16 {% if hide_browser_selector is not defined %} | 32 {% if hide_browser_selector is not defined %} |
17 <div class="article-browser-selector"> | 33 <div class="article-browser-selector"> |
18 [Browser selector] | 34 [Browser selector] |
19 </div> | 35 </div> |
20 {% endif %} | 36 {% endif %} |
21 | 37 |
22 <div class="article-body content"> | 38 <div class="article-body content"> |
23 {{ body | safe }} | 39 {{ body | safe }} |
24 </div> | 40 </div> |
25 </article> | 41 </article> |
26 <aside class="section column one-third"> | 42 <aside class="section column one-third"> |
27 <? include product-topics-accordion ?> | 43 <? include product-topics-accordion ?> |
28 </aside> | 44 </aside> |
29 </main> | 45 </main> |
30 {% endblock %} | 46 {% endblock %} |
OLD | NEW |