| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 <meta charset="utf-8"> | 1 <meta charset="utf-8"> |
| 2 <meta http-equiv="x-ua-compatible" content="ie=edge"> | 2 <meta http-equiv="x-ua-compatible" content="ie=edge"> |
| 3 <meta name="viewport" content="width=device-width, initial-scale=1"> | 3 <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 4 | 4 |
| 5 {% if title_exclude_sitename or not has_string("name", "site") %} | 5 <title> |
| 6 <title>{{ title | translate("page-title", "Page title") }}</title> | 6 {{ title | translate("title", "Page title") }} |
| 7 {% else %} | 7 |
|
juliandoucette
2017/12/13 15:01:10
NIT: Unnecessary empty line?
ire
2017/12/13 19:16:00
Done.
| |
| 8 <title>{{ title | translate("page-title", "Page title") }} | {{ get_string("name ", "site") }}</title> | 8 {% if title_suffix and title_suffix != 'none' %} |
| 9 {% endif %} | 9 | {{ title_suffix | translate("title-suffix", "Page title suffix") }} |
| 10 {% elif has_string("name", "site") and title_suffix != 'none' %} | |
| 11 | {{ get_string("name", "site") }} | |
| 12 {% endif %} | |
| 13 </title> | |
| 10 | 14 |
| 11 {% if description %} | 15 {% if description %} |
| 12 <meta name="description" content="{{ description | translate("page-description ", "Page description") }}"> | 16 <meta name="description" content="{{ description | translate("page-description ", "Page description") }}"> |
| 13 {% endif %} | 17 {% endif %} |
| 14 <link rel="canonical" href="{{ get_canonical_url(page) }}"> | 18 <link rel="canonical" href="{{ get_canonical_url(page) }}"> |
| OLD | NEW |