Skip to content

Commit 7e88135

Browse files
committed
Buch of new Json-ld template Introduced but not Implemented yet
1 parent c205010 commit 7e88135

File tree

9 files changed

+243
-2
lines changed

9 files changed

+243
-2
lines changed

layouts/partials/aboutseo.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<script type="application/ld+json">
2+
{
3+
"@context": "https://schema.org",
4+
"@type": "AboutPage",
5+
"url": "https://codefrydev.in/about",
6+
"name": "About Us",
7+
"description": "Learn more about our company, mission, and values.",
8+
"publisher": {
9+
"@type": "Organization",
10+
"name": "Example Inc.",
11+
"url": "https://codefrydev.in/",
12+
"logo": "https://codefrydev.in/images/logo.png",
13+
"contactPoint": {
14+
"@type": "ContactPoint",
15+
"telephone": "+1-800-555-1234",
16+
"contactType": "Customer Service"
17+
},
18+
"sameAs": [
19+
"https://www.facebook.com/example",
20+
"https://www.twitter.com/example",
21+
"https://www.linkedin.com/company/example"
22+
]
23+
},
24+
"mainEntity": {
25+
"@type": "Organization",
26+
"name": "Example Inc.",
27+
"url": "https://codefrydev.in/",
28+
"logo": "https://codefrydev.in/images/logo.png",
29+
"description": "Example Inc. is a leading provider of innovative solutions.",
30+
"foundingDate": "2000-01-01",
31+
"founders": [
32+
{
33+
"@type": "Person",
34+
"name": "Jane Doe"
35+
},
36+
{
37+
"@type": "Person",
38+
"name": "John Smith"
39+
}
40+
],
41+
"address": {
42+
"@type": "PostalAddress",
43+
"streetAddress": "1234 Main Street",
44+
"addressLocality": "Anytown",
45+
"addressRegion": "CA",
46+
"postalCode": "12345",
47+
"addressCountry": "USA"
48+
},
49+
"contactPoint": {
50+
"@type": "ContactPoint",
51+
"telephone": "+1-800-555-1234",
52+
"contactType": "Customer Service"
53+
},
54+
"sameAs": [
55+
"https://www.facebook.com/example",
56+
"https://www.twitter.com/example",
57+
"https://www.linkedin.com/company/example"
58+
]
59+
}
60+
}
61+
</script>

layouts/partials/header.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222

2323
<title>{{ .Title }}</title>
2424
{{ partial "site_schema.html" . }}
25+
26+
<!--
27+
{{partial "seojsonld.html" .}}
28+
{{partial "aboutseo.html" .}}
29+
{{partial "historyseo.html" .}}
30+
{{partial "qaseo.html" .}}
31+
-->
32+
2533
{{- template "partials/templates/opengraph.html" . }}
2634
{{- template "partials/templates/twitter_cards.html" . }}
2735
<!-- {{- template "partials/templates/schema_json.html" . }} -->

layouts/partials/historyseo.html

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<script type="application/ld+json">
2+
{
3+
"@context": "https://schema.org",
4+
"@type": "WebPage",
5+
"url": "https://codefrydev.in/history",
6+
"name": "History of Updates",
7+
"description": "A timeline of updates and additions to our website.",
8+
"breadcrumb": {
9+
"@type": "BreadcrumbList",
10+
"itemListElement": [
11+
{
12+
"@type": "ListItem",
13+
"position": 1,
14+
"name": "Home",
15+
"item": "https://codefrydev.in/"
16+
},
17+
{
18+
"@type": "ListItem",
19+
"position": 2,
20+
"name": "History",
21+
"item": "https://codefrydev.in/history"
22+
}
23+
]
24+
},
25+
"mainEntity": {
26+
"@type": "ItemList",
27+
"name": "Website Update History",
28+
"itemListOrder": "Descending",
29+
"numberOfItems": 2,
30+
"itemListElement": [
31+
{
32+
"@type": "ListItem",
33+
"position": 1,
34+
"item": {
35+
"@type": "BlogPosting",
36+
"headline": "New Feature Added: User Profiles",
37+
"url": "https://codefrydev.in/history/new-feature-user-profiles",
38+
"datePublished": "2024-08-18",
39+
"author": {
40+
"@type": "Person",
41+
"name": "Jane Doe"
42+
},
43+
"articleBody": "We have added a new feature that allows users to create and manage their profiles."
44+
}
45+
},
46+
{
47+
"@type": "ListItem",
48+
"position": 2,
49+
"item": {
50+
"@type": "BlogPosting",
51+
"headline": "Website Redesign Launched",
52+
"url": "https://codefrydev.in/history/website-redesign",
53+
"datePublished": "2024-07-01",
54+
"author": {
55+
"@type": "Person",
56+
"name": "John Smith"
57+
},
58+
"articleBody": "Our website has undergone a complete redesign to improve user experience."
59+
}
60+
}
61+
]
62+
},
63+
"publisher": {
64+
"@type": "Organization",
65+
"name": "Example Inc.",
66+
"url": "https://codefrydev.in/",
67+
"logo": "https://codefrydev.in/images/logo.png"
68+
}
69+
}
70+
</script>

layouts/partials/qaseo.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<script type="application/ld+json">{
2+
"@context": "https://schema.org",
3+
"@type": "QAPage",
4+
"mainEntity": {
5+
"@type": "Question",
6+
"name": "What is the return policy?",
7+
"text": "What is the return policy for your products?",
8+
"answerCount": 1,
9+
"acceptedAnswer": {
10+
"@type": "Answer",
11+
"text": "You can return any product within 30 days of purchase."
12+
}
13+
}
14+
}
15+
</script>
16+

layouts/partials/seojsonld.html

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<script type="application/ld+json">
2+
{
3+
"@context": "https://schema.org",
4+
"@type": "WebPage",
5+
"name": "Codefrydev",
6+
"url": "https://codefrydev.in/",
7+
"mainEntity": {
8+
"@type": "ItemList",
9+
"itemListElement": [
10+
{
11+
"@type": "ListItem",
12+
"position": 1,
13+
"item": {
14+
"@type": "Product",
15+
"name": "Product 1",
16+
"image": "https://codefrydev.in/images/product1.jpg",
17+
"description": "Description of Product 1",
18+
"sku": "12345",
19+
"offers": {
20+
"@type": "Offer",
21+
"priceCurrency": "USD",
22+
"price": "29.99",
23+
"availability": "https://schema.org/InStock"
24+
}
25+
}
26+
},
27+
{
28+
"@type": "ListItem",
29+
"position": 2,
30+
"item": {
31+
"@type": "Product",
32+
"name": "Product 2",
33+
"image": "https://codefrydev.in/images/product2.jpg",
34+
"description": "Description of Product 2",
35+
"sku": "67890",
36+
"offers": {
37+
"@type": "Offer",
38+
"priceCurrency": "USD",
39+
"price": "49.99",
40+
"availability": "https://schema.org/InStock"
41+
}
42+
}
43+
}
44+
]
45+
},
46+
"breadcrumb": {
47+
"@type": "BreadcrumbList",
48+
"itemListElement": [
49+
{
50+
"@type": "ListItem",
51+
"position": 1,
52+
"item": {
53+
"@id": "https://yourwebsite.com",
54+
"name": "Home"
55+
}
56+
},
57+
{
58+
"@type": "ListItem",
59+
"position": 2,
60+
"item": {
61+
"@id": "https://codefrydev.in/category",
62+
"name": "Category"
63+
}
64+
},
65+
{
66+
"@type": "ListItem",
67+
"position": 3,
68+
"item": {
69+
"@id": "https://codefrydev.in/category/product",
70+
"name": "Product"
71+
}
72+
}
73+
]
74+
},
75+
"potentialAction": {
76+
"@type": "SearchAction",
77+
"target": "https://codefrydev.in/Updates/tags/{search_term_string}",
78+
"query-input": "required name=search_term_string"
79+
}
80+
}
81+
</script>
82+

public/games/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878
"keywords" : [ ]
7979
}
8080
</script>
81+
82+
8183
<meta property="og:title" content="Games" />
8284
<meta property="og:description" content="CodeFryDev is your ultimate destination for diverse digital content and tools. Enjoy our extensive game collection, innovative productivity apps, and micro applications for quick solutions. Access educational materials, interactive courses, and comprehensive tutorials for all skill levels. Fuel your creativity with design resources and versatile tools for efficient project completion. Visit CodeFryDev today and explore all we have to offer!" />
8385
<meta property="og:type" content="website" />

public/history/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
"keywords" : [ ]
7878
}
7979
</script>
80+
81+
8082
<meta property="og:title" content="History" />
8183
<meta property="og:description" content="CodeFryDev is your ultimate destination for diverse digital content and tools. Enjoy our extensive game collection, innovative productivity apps, and micro applications for quick solutions. Access educational materials, interactive courses, and comprehensive tutorials for all skill levels. Fuel your creativity with design resources and versatile tools for efficient project completion. Visit CodeFryDev today and explore all we have to offer!" />
8284
<meta property="og:type" content="website" />

public/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"license": "codefrydev.in"
3838
}
3939
</script>
40+
41+
4042
<meta property="og:title" content="Code Fry Dev" />
4143
<meta property="og:description" content="CodeFryDev is your ultimate destination for diverse digital content and tools. Enjoy our extensive game collection, innovative productivity apps, and micro applications for quick solutions. Access educational materials, interactive courses, and comprehensive tutorials for all skill levels. Fuel your creativity with design resources and versatile tools for efficient project completion. Visit CodeFryDev today and explore all we have to offer!" />
4244
<meta property="og:type" content="website" />

public/sitemap.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
<lastmod>2023-01-01T00:00:00+00:00</lastmod>
1616
</url><url>
1717
<loc>http://localhost:1313/categories/</loc>
18-
</url><url>
19-
<loc>http://localhost:1313/test/</loc>
2018
</url><url>
2119
<loc>http://localhost:1313/tags/</loc>
2220
</url>

0 commit comments

Comments
 (0)