Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{
"@type": "ListItem",
Expand All @@ -53,7 +53,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
10 changes: 5 additions & 5 deletions src/Blog/templates/page/JSON-LD/author-resource.jsonld.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
{
"@context": "https://schema.org",
"@type": "ProfilePage",
"@id": "{{ absolute_url(path('page::author-resource', {slug: author.slug})) }}#webpage",
"url": "{{ absolute_url(path('page::author-resource', {slug: author.slug})) }}",
"isPartOf": { "@id": "{{ absolute_url('/') }}#website" },
"@id": "{{ app.baseUrl ~ path('page::author-resource', {slug: author.slug}) }}#webpage",
"url": "{{ app.baseUrl ~ path('page::author-resource', {slug: author.slug}) }}",
"isPartOf": { "@id": "{{ app.baseUrl }}#website" },
"mainEntity": {
"@type": "Person",
"name": "{{ author.name }}",
"github": "{{ author.github }}",
"url": "{{ absolute_url(path('page::author-resource', {slug: author.slug})) }}"
"url": "{{ app.baseUrl ~ path('page::author-resource', {slug: author.slug}) }}"
},
"hasPart": {
"@type": "ItemList",
Expand All @@ -18,7 +18,7 @@
{
"@type": "ListItem",
"position": {{ loop.index }},
"url": "{{ absolute_url(path('page::blog-resource', {categorySlug: post.category.slug, slug: post.slug})) }}",
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: post.category.slug, slug: post.slug}) }}",
"name": "{{ post.title }}"
}
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{
"@type": "Question",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@graph": [
{
"@type": "TechArticle",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
"headline": {{ article.title|json_encode|raw }},
"description": {{ article.excerpt|json_encode|raw }},
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
Expand All @@ -30,7 +30,7 @@
},
{
"@type": "BreadcrumbList",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
Expand All @@ -39,7 +39,7 @@
},
{
"@type": "FAQPage",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
"mainEntity": [
{ "@type": "Question", "name": "What are DML statements?", "acceptedAnswer": { "@type": "Answer", "text": "DML (Data Manipulation Language) statements are statements that change data values in database tables. There are 3 primary DML statements: INSERT, UPDATE, and DELETE." } },
{ "@type": "Question", "name": "How do you insert a new row with Zend_Db?", "acceptedAnswer": { "@type": "Answer", "text": "Build an associative array of column names to values (e.g. email, password, firstName, lastName, active) and pass it to $db->insert('user', $data), which corresponds to an SQL INSERT INTO ... VALUES statement." } },
Expand Down
Loading