@@ -154,20 +154,20 @@ def test_meta(self):
154154 self .assertInHTML (
155155 f"""
156156 <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 } " />
171171 </head>
172172 """ ,
173173 response .content .decode ("utf8" ),
@@ -186,24 +186,24 @@ def test_meta_article(self):
186186 self .assertInHTML (
187187 f"""
188188 <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 } " />
207207 </head>
208208 """ , # noqa
209209 response .content .decode ("utf8" ),
@@ -279,7 +279,7 @@ def test_struct_org(self):
279279 self .assertInHTML (
280280 f"""
281281 <script type="application/ld+json">
282- { expected_json }
282+ { expected_json }
283283 </script>
284284 """ , # noqa
285285 response .content .decode ("utf8" ),
@@ -326,7 +326,7 @@ def test_struct_article(self):
326326 self .assertInHTML (
327327 f"""
328328 <script type="application/ld+json">
329- { expected_json }
329+ { expected_json }
330330 </script>
331331 """ , # noqa
332332 response .content .decode ("utf8" ),
0 commit comments