|
1 |
| -<meta charset="utf-8"> |
2 |
| -<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 1 | +<meta charset="utf-8" /> |
| 2 | +<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
3 | 3 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
4 | 4 | <link rel="icon" href="{{ "/assets/images/favicon.ico" | relative_url }}" type="image/x-icon" />
|
5 | 5 | <meta name="msapplication-TileColor" content="#1a1919">
|
6 |
| -<meta name="msapplication-TileImage" content="https://cdn-shop.adafruit.com/static/mstile-144x144.png"> |
| 6 | +<meta name="msapplication-TileImage" content="https://cdn-shop.adafruit.com/static/mstile-144x144.png" /> |
7 | 7 | <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
8 |
| -<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> |
| 8 | +<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | |
| 9 | + strip_html | strip_newlines | truncate: 160 }}{% else |
| 10 | + %}{{ site.description }}{% endif %}" /> |
9 | 11 |
|
10 | 12 | <!-- Twitter and Open Graph cards -->
|
11 |
| -<meta name="twitter:site" content="@{{ site.twitter_username }}"> |
12 |
| -<meta property="og:url" content="{{ page.url | absolute_url }}"> |
| 13 | +<meta name="twitter:site" content="@{{ site.twitter_username }}" /> |
| 14 | +<meta property="og:url" content="{{ page.url | absolute_url }}" /> |
13 | 15 | {% if page.title %}
|
14 |
| -<meta property="og:title" content="{{ page.title }}"> |
| 16 | +<meta property="og:title" content="{{ site.title | append: ' - ' | append: page.title }}" /> |
15 | 17 | {% else %}
|
16 |
| -<meta property="og:title" content="{{ site.title }}"> |
| 18 | +<meta property="og:title" content="{{ site.title }}" /> |
17 | 19 | {% endif %}
|
18 | 20 |
|
19 | 21 | {% if page.excerpt %}
|
20 |
| -<meta property="og:description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 300 }}"> |
| 22 | +<meta property="og:description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 300 }}" /> |
21 | 23 | {% else %}
|
22 |
| -<meta property="og:description" content="{{ site.description }}"> |
| 24 | +<meta property="og:description" content="{{ site.description }}" /> |
23 | 25 | {% endif %}
|
24 | 26 |
|
25 | 27 | {% if page.board_image %}
|
26 |
| -<meta name="twitter:card" content="summary_large_image"> |
27 |
| -<meta property="og:image" content="{{ "/assets/images/boards/large/" | append: page.board_image | absolute_url }}"> |
| 28 | +<meta name="twitter:card" content="summary_large_image" /> |
| 29 | +<meta property="og:image" content="{{ "/assets/images/boards/large/" | append: page.board_image | absolute_url }}" /> |
28 | 30 | {% else %}
|
29 |
| -<meta name="twitter:card" content="summary"></meta> |
30 |
| -<meta property="og:image" content="{{ site.headline_image }}"> |
| 31 | +<meta name="twitter:card" content="summary" /> |
| 32 | +<meta property="og:image" content="{{ site.headline_image }}" /> |
31 | 33 | {% endif %}
|
32 | 34 | <meta property="og:type" content="website" />
|
0 commit comments