-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make json-ld metadata more robust (#658)
- Loading branch information
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<head> | ||
<title>Home | Helix Project Boilerplate</title> | ||
<link rel="canonical" href="https://helix-pages.com/page-metadata-jsonld-list"> | ||
<meta property="og:title" content="Home | Helix Project Boilerplate"> | ||
<meta property="og:url" content="https://helix-pages.com/page-metadata-jsonld-list"> | ||
<meta property="og:image" content="https://helix-pages.com/default-meta-image.png?width=1200&format=pjpg&optimize=medium"> | ||
<meta property="og:image:secure_url" content="https://helix-pages.com/default-meta-image.png?width=1200&format=pjpg&optimize=medium"> | ||
<meta name="twitter:card" content="summary_large_image"> | ||
<meta name="twitter:title" content="Home | Helix Project Boilerplate"> | ||
<meta name="twitter:image" content="https://helix-pages.com/default-meta-image.png?width=1200&format=pjpg&optimize=medium"> | ||
<script type="application/ld+json">{"@context":"https://schema.org","@type":"Course","name":"Getting Started with AEM","description":"Setup your first project with AEM for Developers.","provider":{"@type":"Organization","name":"Adobe","sameAs":"http://www.adobe.com"}}</script> | ||
<link id="favicon" rel="icon" type="image/svg+xml" href="/icons/spark.svg"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<script src="/scripts.js" type="module"></script> | ||
<link rel="stylesheet" href="/styles.css"> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# JSON LD Test | ||
|
||
This is great. | ||
|
||
+-------------------------------------------------------------------------------------------+ | ||
| Metadata | | ||
+================+==========================================================================+ | ||
| title | Home \| Helix Project Boilerplate | | ||
+----------------+--------------------------------------------------------------------------| | ||
| json-ld | {"@context": "https\://schema.org", | | ||
| | | | ||
| | "@type": "Course", | | ||
| | | | ||
| | "name": "Getting Started with AEM", | | ||
| | | | ||
| | "description": "Setup your first project with AEM for Developers.", | | ||
| | | | ||
| | "provider": { | | ||
| | | | ||
| | "@type": "Organization", | | ||
| | | | ||
| | "name": "Adobe", | | ||
| | | | ||
| | "sameAs": "http\://www\.adobe.com" | | ||
| | | | ||
| | } | | ||
| | | | ||
| | } | | ||
+----------------+--------------------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters