added gharbeia.net to 5_published
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Article",
|
||||
"author": {
|
||||
"name" : "{{ .Params.author.name }}"
|
||||
},
|
||||
"headline": "{{ .Title }}",
|
||||
"description": "{{ .Params.description }}",
|
||||
"wordCount": {{ .WordCount }},
|
||||
"datePublished" : "{{ .PublishDate.Format "2006-01-02T15:04:05" }}",
|
||||
"dateModified" : "{{ .Date.Format "2006-01-02T15:04:05" }}",
|
||||
"image" : {
|
||||
"@context": "http://schema.org",
|
||||
"@type": "ImageObject",
|
||||
"author": "{{ .Params.image.author }}",
|
||||
"url": "{{ .Params.image.src }}",
|
||||
"datePublished": "{{ .PublishDate.Format "2006-01-02T15:04:05" }}",
|
||||
"name": "{{ .Params.image.title }}",
|
||||
"height" : {{ .Params.image.height }},
|
||||
"width" : {{ .Params.image.width }},
|
||||
"license" : "{{ .Params.image.license_link }}",
|
||||
"isBasedOn" : "{{ .Params.image.link }}"
|
||||
},
|
||||
"mainEntityOfPage" : "{{ .Permalink }}",
|
||||
"publisher" : {
|
||||
"@type": "Organization",
|
||||
"name" : "{{ $.Site.Params.publisherName }}",
|
||||
"logo" : {
|
||||
"@type" : "ImageObject",
|
||||
"url" : "{{ $.Site.Params.publisherLogo }}",
|
||||
"height" : {{ $.Site.Params.publisherLogoHeight }},
|
||||
"width" : {{ $.Site.Params.publisherLogoWidth }}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,26 @@
|
||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
||||
{{ $.Scratch.Add "path" .Site.BaseURL }}
|
||||
|
||||
{{ $.Scratch.Add "breadcrumb" (slice (dict "url" .Site.BaseURL "name" "home" "position" 1 )) }}
|
||||
{{ range $index, $element := split $url "/" }}
|
||||
{{ $.Scratch.Add "path" $element }}
|
||||
{{ $.Scratch.Add "path" "/" }}
|
||||
{{ if ne $element "" }}
|
||||
{{ $.Scratch.Add "breadcrumb" (slice (dict "url" ($.Scratch.Get "path") "name" . "position" (add $index 2))) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [{{ range $.Scratch.Get "breadcrumb" }}{{ if ne .position 1 }},{{ end }}{
|
||||
"@type": "ListItem",
|
||||
"position": {{ .position }},
|
||||
"item": {
|
||||
"@id": "{{ .url }}",
|
||||
"name": "{{ .name }}"
|
||||
}
|
||||
}{{ end }}]
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,13 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Course",
|
||||
"name" : "{{ .Title }}",
|
||||
"description": "{{ .Params.description }}",
|
||||
"provider" : {
|
||||
"@type": "Organization",
|
||||
"name" : "{{ .Params.provider.name }}",
|
||||
"sameAs" : "{{ .Params.provider.url }}"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,12 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Organization",
|
||||
"name": "{{ .Site.Params.organizationName }}",
|
||||
"url": "{{ .Site.BaseURL }}"
|
||||
{{ with .Site.Params.socialProfiles }}, "sameAs": {{ . }}{{ end }}
|
||||
{{ with .Site.Params.organizationLogo }}, "logo": "{{ . }}"{{ end }}
|
||||
{{ with .Site.Params.organizationAddress }}, "address": "{{ . }}"{{ end }}
|
||||
{{ with .Site.Data.organization.contacts.contactPoint }}, "contactPoint": {{ . }}{{ end }}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,54 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Recipe",
|
||||
"name": "{{ .Title }}",
|
||||
"description": "{{ .Params.description }}",
|
||||
"recipeCategory": "{{ .Params.recipe.category }}",
|
||||
"author": {
|
||||
"name" : "{{ .Params.author.name }}"
|
||||
},
|
||||
"description": "{{ .Params.description }}",
|
||||
"datePublished" : "{{ .PublishDate.Format "2006-01-02T15:04:05" }}",
|
||||
"dateModified" : "{{ .Date.Format "2006-01-02T15:04:05" }}",
|
||||
"prepTime": "{{ .Params.recipe.prepTime }}",
|
||||
"totalTime": "{{ .Params.recipe.totalTime }}",
|
||||
"recipeYield": "{{ .Params.recipe.recipeYield }}",
|
||||
"recipeIngredient": {{ .Params.recipe.ingredients }},
|
||||
"recipeInstructions": {{ .Params.recipe.instructions }},
|
||||
"aggregateRating" : {
|
||||
"@context": "http://schema.org",
|
||||
"@type": "AggregateRating",
|
||||
"ratingValue": "{{ .Params.rating.value }}",
|
||||
"reviewCount": "{{ .Params.rating.reviewCount }}",
|
||||
"bestRating": "{{ .Params.rating.best }}",
|
||||
"worstRating": "{{ .Params.rating.worst }}"
|
||||
},
|
||||
"image" : {
|
||||
"@context": "http://schema.org",
|
||||
"@type": "ImageObject",
|
||||
"author": "{{ .Params.image.author }}",
|
||||
"url": "{{ .Params.image.src }}",
|
||||
"datePublished": "{{ .PublishDate.Format "2006-01-02T15:04:05" }}",
|
||||
"name": "{{ .Params.image.title }}",
|
||||
"height" : {{ .Params.image.height }},
|
||||
"width" : {{ .Params.image.width }},
|
||||
"license" : "{{ .Params.image.license_link }}",
|
||||
"isBasedOn" : "{{ .Params.image.link }}"
|
||||
},
|
||||
"nutrition": {
|
||||
"@type": "NutritionInformation",
|
||||
"servingSize": "{{ .Params.nutrition.servingSize }}",
|
||||
"calories": "{{ .Params.nutrition.calories }}",
|
||||
"fatContent": "{{ .Params.nutrition.fatContent }}",
|
||||
"carbohydrateContent": "{{ .Params.nutrition.carbohydrateContent }}",
|
||||
"cholesterolContent": "{{ .Params.nutrition.cholesterolContent }}",
|
||||
"fiberContent": "{{ .Params.nutrition.fiberContent }}",
|
||||
"proteinContent": "{{ .Params.nutrition.proteinContent }}",
|
||||
"saturatedFatContent": "{{ .Params.nutrition.saturatedFatContent }}",
|
||||
"sodiumContent": "{{ .Params.nutrition.sodiumContent }}",
|
||||
"sugarContent": "{{ .Params.nutrition.sugarContent }}",
|
||||
"transFatContent": "{{ .Params.nutrition.transFatContent }}"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,9 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": "{{ .Site.Title }}",
|
||||
{{ with .Site.Params.alternatePageName }}"alternateName": "{{ . }}",{{ end }}
|
||||
"url": "{{ .Site.BaseURL }}"
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user