|
3 | 3 | <meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
4 | 4 | <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
5 | 5 |
|
6 |
| - {% if title == "Home" %} |
7 |
| - <meta name="description" content="Homepage of Thanos Kolovos" /> |
| 6 | + {% if description == nil %} |
| 7 | + <meta name="description" content="Personal Blog of Thanos Kolovos" /> |
8 | 8 | {% else %}
|
9 |
| - <meta name="description" content="{{ page.description }}" /> |
| 9 | + <meta name="description" content="{{ description }}" /> |
10 | 10 | {% endif %}
|
11 | 11 | <title>
|
12 | 12 | {% if title == "Home" %} {{ site.title }} · Homepage of Thanos
|
|
39 | 39 | property="og:image"
|
40 | 40 | content="{{ site.url }}/assets/img/social/linkedin.png?v=2"
|
41 | 41 | />
|
| 42 | + {% endif %} {% if description == nul %} |
| 43 | + <meta property="og:description" content="Personal Blog of Thanos Kolovos" /> |
| 44 | + {% else %} |
| 45 | + <meta property="og:description" content="{{ description }}" /> |
42 | 46 | {% endif %}
|
43 |
| - <meta property="og:description" content="{{ page.description }}" /> |
| 47 | + |
44 | 48 | <meta property="og:image:width" content="400" />
|
45 | 49 | <meta property="og:image:height" content="400" />
|
46 | 50 |
|
47 | 51 | <!-- Twitter Tags -->
|
48 | 52 | <meta name="twitter:card" content="summary" />
|
49 | 53 | <meta name="twitter:site" content="@codegaze" />
|
50 | 54 | <meta name="twitter:title" content="{{ title }}" />
|
51 |
| - <meta name="twitter:description" content="{{ page.description }}" /> |
| 55 | + {% if description == nul %} |
| 56 | + <meta |
| 57 | + property="twitter:description" |
| 58 | + content="Personal Blog of Thanos Kolovos" |
| 59 | + /> |
| 60 | + {% else %} |
| 61 | + <meta property="twitter:description" content="{{ description }}" /> |
| 62 | + {% endif %} |
52 | 63 | <meta name="twitter:creator" content="@codegaze" />
|
53 | 64 | <meta
|
54 | 65 | name="twitter:image"
|
|
0 commit comments