@@ -154,20 +154,20 @@ def test_meta(self):
154
154
self .assertInHTML (
155
155
f"""
156
156
<head>
157
- <title>{ page .seo_pagetitle } </title>
158
- <link rel="canonical" href="{ page .seo_canonical_url } ">
159
- <meta name="description" content="{ page .seo_description } " />
160
- <meta property="og:title" content="{ page .seo_pagetitle } " />
161
- <meta property="og:description" content="{ page .seo_description } " />
162
- <meta property="og:image" content="{ page .seo_image_url } " />
163
- <meta property="og:site_name" content="{ page .seo_sitename } " />
164
- <meta property="og:url" content="{ page .seo_canonical_url } " />
165
- <meta property="og:type" content="{ page .seo_og_type } " />
166
- <meta name="twitter:card" content="{ page .seo_twitter_card_content } " />
167
- <meta name="twitter:title" content="{ page .seo_pagetitle } ">
168
- <meta name="twitter:image" content="{ page .seo_image_url } ">
169
- <meta name="twitter:description" content="{ page .seo_description } " />
170
- <meta name="twitter:site" content="{ seo_set .at_twitter_site } " />
157
+ <title>{ page .seo_pagetitle } </title>
158
+ <link rel="canonical" href="{ page .seo_canonical_url } ">
159
+ <meta name="description" content="{ page .seo_description } " />
160
+ <meta property="og:title" content="{ page .seo_pagetitle } " />
161
+ <meta property="og:description" content="{ page .seo_description } " />
162
+ <meta property="og:image" content="{ page .seo_image_url } " />
163
+ <meta property="og:site_name" content="{ page .seo_sitename } " />
164
+ <meta property="og:url" content="{ page .seo_canonical_url } " />
165
+ <meta property="og:type" content="{ page .seo_og_type } " />
166
+ <meta name="twitter:card" content="{ page .seo_twitter_card_content } " />
167
+ <meta name="twitter:title" content="{ page .seo_pagetitle } ">
168
+ <meta name="twitter:image" content="{ page .seo_image_url } ">
169
+ <meta name="twitter:description" content="{ page .seo_description } " />
170
+ <meta name="twitter:site" content="{ seo_set .at_twitter_site } " />
171
171
</head>
172
172
""" ,
173
173
response .content .decode ("utf8" ),
@@ -186,24 +186,24 @@ def test_meta_article(self):
186
186
self .assertInHTML (
187
187
f"""
188
188
<head>
189
- <title>{ page .seo_pagetitle } </title>
190
- <link rel="canonical" href="{ page .seo_canonical_url } ">
191
- <meta name="description" content="{ page .seo_description } " />
192
- <meta name="author" content="{ page .seo_author } " />
193
- <meta property="og:title" content="{ page .seo_pagetitle } " />
194
- <meta property="og:description" content="{ page .seo_description } " />
195
- <meta property="og:image" content="{ page .seo_image_url } " />
196
- <meta property="og:site_name" content="{ page .seo_sitename } " />
197
- <meta property="og:url" content="{ page .seo_canonical_url } " />
198
- <meta property="og:type" content="{ page .seo_og_type } " />
199
- <meta property="article:author" content="{ page .seo_author } " />
200
- <meta property="article:published_time" content="{ utils .serialize_date (page .seo_published_at ) } " />
201
- <meta property="article:modified_time" content="{ utils .serialize_date (page .last_published_at ) } " />
202
- <meta name="twitter:card" content="{ page .seo_twitter_card_content } " />
203
- <meta name="twitter:title" content="{ page .seo_pagetitle } ">
204
- <meta name="twitter:image" content="{ page .seo_image_url } ">
205
- <meta name="twitter:description" content="{ page .seo_description } " />
206
- <meta name="twitter:site" content="{ seo_set .at_twitter_site } " />
189
+ <title>{ page .seo_pagetitle } </title>
190
+ <link rel="canonical" href="{ page .seo_canonical_url } ">
191
+ <meta name="description" content="{ page .seo_description } " />
192
+ <meta name="author" content="{ page .seo_author } " />
193
+ <meta property="og:title" content="{ page .seo_pagetitle } " />
194
+ <meta property="og:description" content="{ page .seo_description } " />
195
+ <meta property="og:image" content="{ page .seo_image_url } " />
196
+ <meta property="og:site_name" content="{ page .seo_sitename } " />
197
+ <meta property="og:url" content="{ page .seo_canonical_url } " />
198
+ <meta property="og:type" content="{ page .seo_og_type } " />
199
+ <meta property="article:author" content="{ page .seo_author } " />
200
+ <meta property="article:published_time" content="{ utils .serialize_date (page .seo_published_at )} " />
201
+ <meta property="article:modified_time" content="{ utils .serialize_date (page .last_published_at )} " />
202
+ <meta name="twitter:card" content="{ page .seo_twitter_card_content } " />
203
+ <meta name="twitter:title" content="{ page .seo_pagetitle } ">
204
+ <meta name="twitter:image" content="{ page .seo_image_url } ">
205
+ <meta name="twitter:description" content="{ page .seo_description } " />
206
+ <meta name="twitter:site" content="{ seo_set .at_twitter_site } " />
207
207
</head>
208
208
""" , # noqa
209
209
response .content .decode ("utf8" ),
@@ -279,7 +279,7 @@ def test_struct_org(self):
279
279
self .assertInHTML (
280
280
f"""
281
281
<script type="application/ld+json">
282
- { expected_json }
282
+ { expected_json }
283
283
</script>
284
284
""" , # noqa
285
285
response .content .decode ("utf8" ),
@@ -326,7 +326,7 @@ def test_struct_article(self):
326
326
self .assertInHTML (
327
327
f"""
328
328
<script type="application/ld+json">
329
- { expected_json }
329
+ { expected_json }
330
330
</script>
331
331
""" , # noqa
332
332
response .content .decode ("utf8" ),
0 commit comments