1 <!DOCTYPE html> |
1 <!DOCTYPE html> |
2 <html i18n:domain="pyams_default_theme" |
2 <html lang="${request.locale_name}" i18n:domain="pyams_default_theme"> |
3 tal:define="config tales:configuration;" |
|
4 lang="${request.locale_name}"> |
|
5 <head prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# fb: http://ogp.me/ns/fb#"> |
3 <head prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# fb: http://ogp.me/ns/fb#"> |
6 ${structure:tales:metas} |
4 ${structure:tales:metas} |
7 |
5 <!-- JS extensions --> |
8 <tal:if define="icon config.icon | nothing; |
|
9 url tales:absolute_url(icon);" |
|
10 condition="icon"><!-- Favorite icon --><tal:var |
|
11 define="size icon.get_image_size()[0]; |
|
12 timestamp tales:timestamp(icon)"><tal:loop |
|
13 repeat="icon_size (180, 144, 114, 72, 32)"><link |
|
14 tal:condition="size >= icon_size" type="${icon.content_type}" |
|
15 rel="apple-touch-icon" sizes="${icon_size}x${icon_size}" |
|
16 href="${url}/++thumb++${icon_size}x${icon_size}?_=${timestamp}" /></tal:loop> |
|
17 <link rel="apple-touch-icon" sizes="16x16" href="${url}/++thumb++16x16?_=${timestamp}" type="${icon.content_type}" /> |
|
18 <tal:loop repeat="icon_size (128, 64, 32)"><link |
|
19 tal:condition="size >= icon_size" type="${icon.content_type}" |
|
20 rel="icon" sizes="${icon_size}x${icon_size}" |
|
21 href="${url}/++thumb++${icon_size}x${icon_size}?_=${timestamp}" /></tal:loop> |
|
22 <link rel="icon" sizes="16x16" href="${url}/++thumb++16x16?_=${timestamp}" type="${icon.content_type}" /> |
|
23 <link rel="shortcut icon" href="${url}" type="${icon.content_type}" /> |
|
24 </tal:var></tal:if> |
|
25 <link rel="canonical" |
|
26 tal:define="context_url tales:canonical_url(context)" |
|
27 href="${context_url.replace('+', '%2B')}" /> |
|
28 |
|
29 <!-- Javascript extensions --> |
|
30 ${structure:provider:pyams.jsextensions} |
6 ${structure:provider:pyams.jsextensions} |
31 <!-- end javascript extensions --> |
7 <!-- End JS extensions --> |
32 ${tales:resources} |
8 ${tales:resources} |
33 </head> |
9 </head> |
34 <body class="no-margin no-padding"> |
10 <body class="no-margin no-padding"> |
35 |
11 |
36 <div class="page"> |
12 <div class="page"> |