|
13 | 13 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
14 | 14 |
|
15 | 15 | <!-- open gragh stuff-->> |
16 | | - <title>{% block title %}{{ config.title }}{% endblock title %}</title> |
17 | | - <!--meta name="og:title" content="{{ config.title }}" /--> |
| 16 | + |
18 | 17 | <meta name="og:site_name" content="Quackdoc's Blog" /> |
19 | 18 | <meta property="og:url" content="https://quackdoc.github.io/" /> |
20 | 19 | <meta property="og:type" content="website" /> |
21 | 20 | <meta property="og:site_name" content="Quackdoc's Blog" /> |
22 | 21 | {%if section.title%} |
23 | 22 | <title>{{ section.title }}</title> |
24 | | - <meta name="og:title" content="{{ section.title }}" /> |
| 23 | + <meta property="og:title" content="{{ section.title }}" /> |
25 | 24 | {%endif%} |
26 | 25 | {%if section.description%} |
27 | | - <meta name="description" content="{{ section.description }}" /> |
28 | | - <meta name="og:description" content="{{ section.description }}" /> |
| 26 | + <meta property="description" content="{{ section.description }}" /> |
| 27 | + <meta property="og:description" content="{{ section.description }}" /> |
29 | 28 | {%endif%} |
30 | 29 | {% if page %} |
31 | 30 | {%if page.title%} |
32 | 31 | <title>{{ page.title }}</title> |
33 | | - <meta name="og:title" content="{{ page.title }}" /> |
| 32 | + <meta property="og:title" content="{{ page.title }}" /> |
34 | 33 | {%endif%} |
35 | 34 | {% if page.description %} |
36 | | - <meta name="description" content="{{ page.description}}" /> |
37 | | - <meta name="og:description" content="{{ page.description }}" /> |
| 35 | + <!--meta name="description" content="{{ page.description}}" /--> |
| 36 | + <meta property="og:description" content="{{ page.description }}" /> |
38 | 37 | {% elif config.description %} |
39 | | - <meta name="description" content="{{ config.description }}" /> |
40 | | - <meta name="og:description" content="{{ config.description }}" /> |
| 38 | + <meta property="description" content="{{ config.description }}" /> |
| 39 | + <meta property="og:description" content="{{ config.description }}" /> |
41 | 40 | {% endif %} |
42 | 41 | {% elif config.description %} |
43 | | - <meta name="description" content="{{ config.description }}" /> |
| 42 | + <meta property="og:title" content="{{ config.title }}" /> |
| 43 | + <meta property="description" content="{{ config.description }}" /> |
| 44 | + {% else %} |
| 45 | + <title>{% block title %}{{ config.title }}{% endblock title %}</title> |
| 46 | + <meta property="og:title" content="{{ config.title }}" /> |
44 | 47 | {% endif %} |
45 | 48 |
|
46 | 49 | {% if config.generate_feed %} |
|
0 commit comments