|
9 | 9 |
|
10 | 10 | <meta name="description" |
11 | 11 | content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> |
| 12 | + {% if paginator and paginator.page > 1 %} |
| 13 | + <meta name="robots" content="noindex, follow"> |
| 14 | + {% endif %} |
12 | 15 | <meta name="author" content="{{ site.title }}"> |
13 | 16 | <meta name="naver-site-verification" content="20a36484bff01ff10cf2e8ba576bd3a6724dabd6" /> |
| 17 | + <link rel="icon" type="image/x-icon" href="{{ site.baseurl }}/favicon.ico"> |
| 18 | + <link rel="apple-touch-icon" href="{{ site.baseurl }}/img/common/og_image.png"> |
| 19 | + <meta name="theme-color" content="#09090b"> |
| 20 | + <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ site.url }}{{ site.baseurl }}/feed.xml"> |
14 | 21 |
|
15 | 22 | {% assign current_lang = page.lang | default: site.default_lang %} |
16 | 23 | {% if page.url %} |
|
38 | 45 | {% if page.author %} |
39 | 46 | "author": { |
40 | 47 | "@type": "Person", |
41 | | - "name": {{page.author | jsonify}} |
| 48 | + "name": {{page.author | jsonify}}, |
| 49 | + "url": "{{ site.url }}{{ site.baseurl }}/about", |
| 50 | + "sameAs": ["https://github.com/{{ page.author }}"] |
42 | 51 | }, |
43 | 52 | {% endif %} |
| 53 | + "image": "{{ site.url }}{{ site.baseurl }}{% if page.image %}{{ page.image }}{% else %}/img/common/og_image.png{% endif %}", |
44 | 54 | "datePublished": "{{ page.date | date_to_xmlschema }}", |
45 | | - "dateModified": "{{ page.date | date_to_xmlschema }}", |
| 55 | + "dateModified": "{{ page.last_modified_at | default: page.date | date_to_xmlschema }}", |
46 | 56 | "mainEntityOfPage": { |
47 | 57 | "@type": "WebPage", |
48 | 58 | "@id": "{{ site.url }}{{ site.baseurl }}{{ page.url | replace:'index.html','' }}" |
|
65 | 75 | "url": "{{ site.url }}{{ site.baseurl }}{{ page.url | replace:'index.html','' }}" |
66 | 76 | } |
67 | 77 | </script> |
| 78 | + <script type="application/ld+json"> |
| 79 | + { |
| 80 | + "@context": "https://schema.org", |
| 81 | + "@type": "BreadcrumbList", |
| 82 | + "itemListElement": [ |
| 83 | + { |
| 84 | + "@type": "ListItem", |
| 85 | + "position": 1, |
| 86 | + "name": "MadPlay", |
| 87 | + "item": "{{ site.url }}{{ site.baseurl }}/" |
| 88 | + }{% if page.category %}, |
| 89 | + { |
| 90 | + "@type": "ListItem", |
| 91 | + "position": 2, |
| 92 | + "name": {{ page.category | jsonify }}, |
| 93 | + "item": "{{ site.url }}{{ site.baseurl }}/category" |
| 94 | + }, |
| 95 | + { |
| 96 | + "@type": "ListItem", |
| 97 | + "position": 3, |
| 98 | + "name": {{ page.title | jsonify }} |
| 99 | + }{% else %}, |
| 100 | + { |
| 101 | + "@type": "ListItem", |
| 102 | + "position": 2, |
| 103 | + "name": {{ page.title | jsonify }} |
| 104 | + }{% endif %} |
| 105 | + ] |
| 106 | + } |
| 107 | + </script> |
68 | 108 | {% endif %} |
69 | 109 | {% endif %} |
70 | 110 |
|
|
75 | 115 | {% if page.url %} |
76 | 116 | <meta property="og:url" content="{{ site.url }}{{ site.baseurl }}{{ page.url | replace:'index.html','' }}"> |
77 | 117 | {% endif %} |
| 118 | + {% if page.image %} |
| 119 | + <meta property="og:image" content="{{ site.url }}{{ site.baseurl }}{{ page.image }}"> |
| 120 | + {% else %} |
| 121 | + <meta property="og:image" content="{{ site.url }}{{ site.baseurl }}/img/common/og_image.png"> |
| 122 | + {% endif %} |
78 | 123 |
|
79 | 124 | <meta name="twitter:card" content="summary"> |
80 | 125 | <meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> |
81 | 126 | <meta name="twitter:description" |
82 | 127 | content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> |
| 128 | + {% if page.image %} |
| 129 | + <meta name="twitter:image" content="{{ site.url }}{{ site.baseurl }}{{ page.image }}"> |
| 130 | + {% else %} |
| 131 | + <meta name="twitter:image" content="{{ site.url }}{{ site.baseurl }}/img/common/og_image.png"> |
| 132 | + {% endif %} |
83 | 133 | <style> |
84 | 134 | html { |
85 | 135 | background-color: rgb(9 9 11); |
|
99 | 149 | <link rel="preconnect" href="https://www.googletagmanager.com"> |
100 | 150 | {% endif %} |
101 | 151 |
|
| 152 | + <link rel="preconnect" href="https://pagead2.googlesyndication.com" crossorigin> |
102 | 153 | {% if page.layout == 'post' %} |
103 | | - <link rel="dns-prefetch" href="//pagead2.googlesyndication.com"> |
104 | 154 | <link rel="dns-prefetch" href="//utteranc.es"> |
105 | 155 | {% endif %} |
106 | 156 |
|
|
114 | 164 | </script> |
115 | 165 | {% endif %} |
116 | 166 |
|
117 | | - {% if page.layout == 'post' %} |
118 | 167 | <script async |
119 | 168 | src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8036596086585080" |
120 | 169 | crossorigin="anonymous"></script> |
121 | | - {% endif %} |
122 | 170 |
|
| 171 | + <link rel="preload" href="{{ site.baseurl }}/css/custom/utilities.css" as="style"> |
| 172 | + <link rel="preload" href="{{ site.baseurl }}/css/custom/default.css" as="style"> |
123 | 173 | <link rel="stylesheet" href="{{ site.baseurl }}/css/custom/utilities.css"> |
124 | 174 | <link rel="stylesheet" href="{{ site.baseurl }}/css/custom/default.css"> |
125 | 175 | {% if page.layout == 'post' %} |
|
0 commit comments