|
1 | | - <meta content='text/html; charset=utf-8' http-equiv='Content-Type'> |
2 | | - <meta http-equiv='X-UA-Compatible' content='IE=edge'> |
3 | | - <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> |
| 1 | +<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> |
| 2 | +<meta http-equiv='X-UA-Compatible' content='IE=edge'> |
| 3 | +<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> |
4 | 4 |
|
5 | | - {% if page.excerpt %} |
6 | | - <meta property="og:description" content="{{ page.excerpt| strip_html }}" /> |
7 | | - {% elsif page.description %} |
8 | | - <meta property="og:description" content="{{ page.description }}" /> |
9 | | - {% else %} |
10 | | - <meta property="og:description" content="{{ site.description }}" /> |
11 | | - {% endif %} |
12 | | - <meta name="author" content="{{ site.name }}" /> |
| 5 | +{% if page.excerpt %} |
| 6 | +<meta property="og:description" content="{{ page.excerpt| strip_html }}" /> |
| 7 | +{% elsif page.description %} |
| 8 | +<meta property="og:description" content="{{ page.description }}" /> |
| 9 | +{% else %} |
| 10 | +<meta property="og:description" content="{{ site.description }}" /> |
| 11 | +{% endif %} |
| 12 | +<meta name="author" content="{{ site.name }}" /> |
13 | 13 |
|
14 | | - {% if page.title %} |
15 | | - <meta property="og:title" content="{{ page.title }}" /> |
16 | | - <meta property="twitter:title" content="{{ page.title }}" /> |
17 | | - {% endif %} |
| 14 | +{% if page.title %} |
| 15 | +<meta property="og:title" content="{{ page.title }}" /> |
| 16 | +<meta property="twitter:title" content="{{ page.title }}" /> |
| 17 | +{% endif %} |
18 | 18 |
|
19 | | - {% if page.image %} |
20 | | - <meta property="og:image" content="{{ site.url }}{{ page.image }}"/> |
21 | | - <meta property="twitter:image" content="{{ site.url }}{{ page.image }}"/> |
22 | | - {% else %} |
23 | | - <meta property="og:image" content="{{ site.url }}{{ site.avatar }}"/> |
24 | | - <meta property="twitter:image" content="{{ site.url }}{{ site.avatar }}"/> |
25 | | - {% endif %} |
26 | | - <meta property="og:site_name" content="Amit Merchant - Software Engineer"/> |
| 19 | +{% if page.image %} |
| 20 | +<meta property="og:image" content="{{ site.url }}{{ page.image }}"/> |
| 21 | +<meta property="twitter:image" content="{{ site.url }}{{ page.image }}"/> |
| 22 | +{% else %} |
| 23 | +<meta property="og:image" content="{{ site.url }}{{ site.avatar }}"/> |
| 24 | +<meta property="twitter:image" content="{{ site.url }}{{ site.avatar }}"/> |
| 25 | +{% endif %} |
0 commit comments