|
53 | 53 | <meta name="robots" content="noindex" />
|
54 | 54 | {{ end }}
|
55 | 55 |
|
56 |
| - <!-- Organization schema for google --> |
57 |
| - {{ if eq .Params.include_organization_schema true }} |
58 |
| - <script type="application/ld+json"> |
59 |
| - { |
60 |
| - "@context": "https://schema.org", |
61 |
| - "@type": "Corporation", |
62 |
| - "name": "Pulumi", |
63 |
| - "@id": "https://www.pulumi.com/product/", |
64 |
| - "description": "Pulumi lets engineers deliver infrastructure as code faster, using any programming language. The Pulumi Platform enables customers to manage 10x more resources at lower cost than traditional tools, while Pulumi Insights unlocks analytics and search across cloud infrastructure, and enables novel AI-driven infrastructure automation.", |
65 |
| - "logo": "https://camo.githubusercontent.com/ffc5afc9f46a37b2f0d286d9d0af06786843507b2ddc162cdb41ef6a08f3b5ab/68747470733a2f2f7777772e70756c756d692e636f6d2f696d616765732f6c6f676f2f6c6f676f2d6f6e2d77686974652d626f782e7376673f", |
66 |
| - "foundingDate" : "2017", |
67 |
| - "address": { |
68 |
| - "@type": "PostalAddress", |
69 |
| - "addressLocality": "Seattle, WA", |
70 |
| - "addressCountry": "United States", |
71 |
| - "postalCode": "98101", |
72 |
| - "streetAddress": "1525” 4th Ave. Suite 800" |
73 |
| - }, |
74 |
| - "email": "mailto:team@pulumi.com", |
75 |
| - "url": "https://www.pulumi.com", |
76 |
| - "sameAs": [ |
77 |
| - "https://twitter.com/PulumiCorp", |
78 |
| - "https://www.linkedin.com/company/pulumi", |
79 |
| - "https://www.youtube.com/channel/UC2Dhyn4Ev52YSbcpfnfP0Mw", |
80 |
| - "https://github.com/pulumi/pulumi" |
81 |
| - ] |
82 |
| - } |
83 |
| - </script> |
84 |
| - {{ end }} |
85 |
| - |
86 |
| - |
87 |
| - <!-- Workshop info for Google events. --> |
88 |
| - {{ if .Params.event_data }} |
89 |
| - <script type="application/ld+json"> |
90 |
| - { |
91 |
| - "@context": "https://schema.org", |
92 |
| - "@type": "Event", |
93 |
| - "name": "{{ .Params.event_data.name }}", |
94 |
| - "startDate": "{{ .Params.event_data.start_date }}", |
95 |
| - "endDate": "{{ .Params.event_data.end_date }}", |
96 |
| - "eventStatus": "https://schema.org/EventScheduled", |
97 |
| - "eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode", |
98 |
| - "location": { |
99 |
| - "@type": "VirtualLocation", |
100 |
| - "url": {{ .Params.event_data.url }} |
101 |
| - }, |
102 |
| - "description": "{{ .Params.event_data.description }}", |
103 |
| - "organizer": { |
104 |
| - "@type": "Organization", |
105 |
| - "name": "Pulumi", |
106 |
| - "url": "https://pulumi.com" |
107 |
| - } |
108 |
| - } |
109 |
| - </script> |
110 |
| - {{ end }} |
111 |
| - |
112 |
| - <!-- BlogPosting schema for blog posts --> |
113 |
| - {{ if and (eq .Type "blog") .IsPage }} |
114 |
| - <script type="application/ld+json"> |
115 |
| - { |
116 |
| - "@context": "https://schema.org", |
117 |
| - "@type": "BlogPosting", |
118 |
| - "headline": "{{ .Title }}", |
119 |
| - "datePublished": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}", |
120 |
| - {{ if .Lastmod }} |
121 |
| - "dateModified": "{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}", |
122 |
| - {{ else }} |
123 |
| - "dateModified": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}", |
124 |
| - {{ end }} |
125 |
| - "mainEntityOfPage": { |
126 |
| - "@type": "WebPage", |
127 |
| - "@id": "{{ .Permalink }}" |
128 |
| - }, |
129 |
| - "description": "{{ with .Params.meta_desc }}{{ . }}{{ else }}{{ .Summary }}{{ end }}", |
130 |
| - {{ if .Params.meta_image }} |
131 |
| - {{ if in "blog templates" .Section }} |
132 |
| - "image": "{{ (.Resources.GetMatch .Params.meta_image).Permalink }}", |
133 |
| - {{ else }} |
134 |
| - "image": "{{ .Params.meta_image | absURL }}", |
135 |
| - {{ end }} |
136 |
| - {{ else }} |
137 |
| - "image": "{{ "/logos/brand/og-default.png" | absURL }}", |
138 |
| - {{ end }} |
139 |
| - "url": "{{ .Permalink }}", |
140 |
| - "wordCount": "{{ .WordCount }}", |
141 |
| - "publisher": { |
142 |
| - "@type": "Organization", |
143 |
| - "name": "Pulumi", |
144 |
| - "logo": { |
145 |
| - "@type": "ImageObject", |
146 |
| - "url": "{{ "/logos/logo.svg" | absURL }}" |
147 |
| - } |
148 |
| - }, |
149 |
| - {{ if .Params.authors }} |
150 |
| - "author": [ |
151 |
| - {{ $authorLen := len .Params.authors }} |
152 |
| - {{ range $index, $authorID := .Params.authors }} |
153 |
| - {{ with $authorData := index $.Site.Data.team.team $authorID }} |
154 |
| - { |
155 |
| - "@type": "Person", |
156 |
| - "name": "{{ $authorData.name }}" |
157 |
| - {{ if $authorData.title }}, "jobTitle": "{{ $authorData.title }}"{{ end }} |
158 |
| - {{ if $authorData.social }} |
159 |
| - {{ if $authorData.social.twitter }}, "sameAs": "https://twitter.com/{{ $authorData.social.twitter }}"{{ end }} |
160 |
| - {{ end }} |
161 |
| - }{{ if ne (add $index 1) $authorLen }},{{ end }} |
162 |
| - {{ end }} |
163 |
| - {{ end }} |
164 |
| - ], |
165 |
| - {{ else }} |
166 |
| - "author": { |
167 |
| - "@type": "Organization", |
168 |
| - "name": "Pulumi" |
169 |
| - }, |
170 |
| - {{ end }} |
171 |
| - {{ if .Params.tags }} |
172 |
| - "keywords": "{{ delimit .Params.tags ", " }}" |
173 |
| - {{ end }} |
174 |
| - } |
175 |
| - </script> |
176 |
| - {{ end }} |
177 |
| - |
178 |
| - <!-- Event info for Google events (in-person exhibitions)--> |
179 |
| - {{ if .Params.exhibition_data }} |
180 |
| - {{ with .Params.exhibition_data }} |
181 |
| - <script type="application/ld+json"> |
182 |
| - { |
183 |
| - "@context": "https://schema.org", |
184 |
| - "@type": "ExhibitionEvent", |
185 |
| - "name": "{{ .name }}", |
186 |
| - "description": "{{ .description }}", |
187 |
| - "startDate": "{{ .start_date }}", |
188 |
| - "endDate": "{{ .end_date }}", |
189 |
| - "location": { |
190 |
| - "@type": "Place", |
191 |
| - "name": "{{ .location.name }}", |
192 |
| - "address": { |
193 |
| - "@type": "PostalAddress", |
194 |
| - "streetAddress": "{{ .location.address.street }}", |
195 |
| - "addressLocality": "{{ .location.address.locality }}", |
196 |
| - "addressRegion": "{{ .location.address.region }}", |
197 |
| - "postalCode": "{{ .location.address.postal_code }}", |
198 |
| - "addressCountry": "{{ .location.address.country }}" |
199 |
| - } |
200 |
| - }, |
201 |
| - "organizer": { |
202 |
| - "@type": "Organization", |
203 |
| - "name": "{{ .organizer.name }}", |
204 |
| - "url": {{ .organizer.url }} |
205 |
| - }, |
206 |
| - "exhibitor": { |
207 |
| - "@type": "Organization", |
208 |
| - "name": "Pulumi", |
209 |
| - "url": "https://pulumi.com", |
210 |
| - "description": "Pulumi helps teams create, deploy, and manage modern cloud applications using infrastructure as code." |
211 |
| - }, |
212 |
| - "boothNumber": "{{ .booth }}", |
213 |
| - "eventStatus": "https://schema.org/EventScheduled", |
214 |
| - "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode" |
215 |
| - } |
216 |
| - </script> |
217 |
| - {{ end }} |
218 |
| - {{ end }} |
| 56 | + <!-- Structured Data Schemas --> |
| 57 | + {{ partial "schema/loader.html" . }} |
219 | 58 |
|
220 | 59 |
|
221 | 60 | <!--
|
|
0 commit comments