Skip to content

Commit e22cb8e

Browse files
authored
Merge pull request #74 from dotkernel/issue-51
Remove / at the end of id and add #faq where missing
2 parents 7b065fe + 62f093f commit e22cb8e

170 files changed

Lines changed: 460 additions & 460 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Blog/templates/page/JSON-LD/android/listen-for-android-install-referrer.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{
3636
"@type": "ListItem",
@@ -53,7 +53,7 @@
5353
},
5454
{
5555
"@type": "FAQPage",
56-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
56+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
5757
"mainEntity": [
5858
{
5959
"@type": "Question",

src/Blog/templates/page/JSON-LD/android/multiple-broadcast-receivers-in-the-same-app-for-the-same-action.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

src/Blog/templates/page/JSON-LD/architecture/configprovider-bootstrap-modern-php-applications.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

src/Blog/templates/page/JSON-LD/architecture/request-lifecycle-for-a-mezzio-based-application.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

src/Blog/templates/page/JSON-LD/architecture/understanding-middleware.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

src/Blog/templates/page/JSON-LD/author-resource.jsonld.twig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
{
33
"@context": "https://schema.org",
44
"@type": "ProfilePage",
5-
"@id": "{{ absolute_url(path('page::author-resource', {slug: author.slug})) }}#webpage",
6-
"url": "{{ absolute_url(path('page::author-resource', {slug: author.slug})) }}",
7-
"isPartOf": { "@id": "{{ absolute_url('/') }}#website" },
5+
"@id": "{{ app.baseUrl ~ path('page::author-resource', {slug: author.slug}) }}#webpage",
6+
"url": "{{ app.baseUrl ~ path('page::author-resource', {slug: author.slug}) }}",
7+
"isPartOf": { "@id": "{{ app.baseUrl }}#website" },
88
"mainEntity": {
99
"@type": "Person",
1010
"name": "{{ author.name }}",
1111
"github": "{{ author.github }}",
12-
"url": "{{ absolute_url(path('page::author-resource', {slug: author.slug})) }}"
12+
"url": "{{ app.baseUrl ~ path('page::author-resource', {slug: author.slug}) }}"
1313
},
1414
"hasPart": {
1515
"@type": "ItemList",
@@ -18,7 +18,7 @@
1818
{
1919
"@type": "ListItem",
2020
"position": {{ loop.index }},
21-
"url": "{{ absolute_url(path('page::blog-resource', {categorySlug: post.category.slug, slug: post.slug})) }}",
21+
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: post.category.slug, slug: post.slug}) }}",
2222
"name": "{{ post.title }}"
2323
}
2424
{% endfor %}

src/Blog/templates/page/JSON-LD/best-practice/aptana-set-svn-keywords.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

src/Blog/templates/page/JSON-LD/best-practice/basic-security-in-dotkernel-headless-platform.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

src/Blog/templates/page/JSON-LD/best-practice/golden-rules-of-professional-php-coding.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

src/Blog/templates/page/JSON-LD/best-practice/htaccess-301-redirect-non-www-to-www.jsonld.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@graph": [
55
{
66
"@type": "TechArticle",
7-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article/",
7+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#article",
88
"headline": {{ article.title|json_encode|raw }},
99
"description": {{ article.excerpt|json_encode|raw }},
1010
"url": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"@type": "BreadcrumbList",
33-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb/",
33+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#breadcrumb",
3434
"itemListElement": [
3535
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "{{ app.baseUrl }}" },
3636
{ "@type": "ListItem", "position": 2, "name": {{ article.category.name|json_encode|raw }}, "item": "{{ app.baseUrl ~ path('page::category-resource', {slug: article.category.slug}) }}" },
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"@type": "FAQPage",
42-
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}",
42+
"@id": "{{ app.baseUrl ~ path('page::blog-resource', {categorySlug: article.category.slug, slug: article.slug}) }}#faq",
4343
"mainEntity": [
4444
{
4545
"@type": "Question",

0 commit comments

Comments
 (0)