Skip to content

Commit 66f91bc

Browse files
author
olaru
committed
Re-check H1,H2,H3 order
1 parent 82cada0 commit 66f91bc

66 files changed

Lines changed: 255 additions & 257 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/App/templates/app/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
{% for post in posts %}
313313
<a class="post-card" href="{{ url('page::blog-resource', {categorySlug: post.category.slug, slug: post.slug}) }}">
314314
<div class="post-date">{{ post.postDate|date('M d, Y') }}</div>
315-
<h4>{{ post.title }}</h4>
315+
<h3>{{ post.title }}</h3>
316316
<p>{{ post.excerpt }}</p>
317317
<span class="read-more">Read more →</span>
318318
</a>

src/App/templates/error/404.html.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
{% block content %}
77
<div class="page-intro home-intro error-messages">
88
<div class="container">
9-
<h2>Oops!</h2>
10-
<h2>This is awkward.</h2>
9+
<span class="eyebrow">Oops! This is awkward.</span>
1110
<h1>404</h1>
1211
<p class="text-dark">
1312
You are looking for something that doesn't exist or may have moved. Check out one of the links on this page

src/App/templates/error/error.html.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
{% block content %}
77
<div class="page-intro home-intro error-messages">
88
<div class="container">
9-
<h2>Oops!</h2>
10-
<h2>This is awkward.</h2>
9+
<span class="eyebrow">Oops! This is awkward.</span>
1110
<h1>{{ status }}</h1>
1211
<h2 class="message">{{ reason }}</h2>
1312
</div>

src/App/templates/partial/meta.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta property="og:image" content="{{ meta.image ?? app.meta.image }}"/>
1010
<meta property="og:type" content="{{ meta.type ?? app.meta.type }}"/>
1111
<meta property="og:site_name" content="{{ app.meta.siteName }}"/>
12-
<meta property="og:url" content="{{ meta.url ?? app.meta.url }}"/>
12+
<meta property="og:url" content="{{ meta.url ?? url(routeName ?? null) }}"/>
1313
<meta property="og:locale" content="{{ app.meta.locale }}"/>
1414

1515
<meta name="twitter:card" content="{{ app.meta.twitterCard }}"/>

src/Blog/templates/page/author-resource.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<path d="M14 4v6h6"/>
4343
</svg>
4444
<span class="post-card-kicker">{{ post.category.name }}</span>
45-
<h4>{{ post.title }}</h4>
45+
<h2>{{ post.title }}</h2>
4646
<p>{{ post.excerpt|length > 200 ? post.excerpt|slice(0, 200)|trim ~ '' : post.excerpt }}</p>
4747
<span class="post-card-meta">{{ post.postDate|date('M d, Y') }}</span>
4848
<span class="read-more">Read more →</span>

src/Blog/templates/page/blog-resource/architecture/request-lifecycle-for-a-mezzio-based-application.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<article class="article">
3232
<div class="entry">
33-
<h3>Seamlessly Interconnected Middleware for Enterprise-Level Solutions</h3>
33+
<h2>Seamlessly Interconnected Middleware for Enterprise-Level Solutions</h2>
3434

3535
<p class="mb-3">The request lifecycle is the sequence of steps that happen from the moment a user makes an HTTP request until the server sends back a response. </p>
3636

src/Blog/templates/page/blog-resource/best-practice/svn-keywords-setup-in-php-ide-zend-studio.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cache
6262
<pre><strong>Name:</strong> bugtraq:url
6363
<strong>Propriety:</strong> http://www.dotkernel.net/view.php?id=%BUGID%</pre>
6464
For <strong>above</strong> Proprieties , apply <strong>only</strong> to project folder, <strong>NOT</strong> recursive
65-
<h3>Final step( below instructions are good <strong>only</strong> for <strong>svn:keywords</strong> )</h3>
65+
<h2>Final step( below instructions are good <strong>only</strong> for <strong>svn:keywords</strong> )</h2>
6666
&nbsp;
6767

6868
Check the <strong>Apply property recursively to:</strong>

src/Blog/templates/page/blog-resource/dotkernel-api/content-negotiation-in-dotkernel-rest-api.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<article class="article">
3232
<div class="entry">
33-
<h1></h1>
33+
<h2></h2>
3434

3535
<p class="mb-3">Content negotiation is an important aspect of RESTful APIs to make it possible for diverse systems to work seamlessly together. It's based on enabling clients and servers to agree on the format and language of data they exchange.</p>
3636

@@ -75,7 +75,7 @@
7575
<li>or <strong>resource URI patterns</strong>.</li>
7676
</ul>
7777

78-
<h4><a href="#http-request-headers"></a>HTTP Request Headers</h4>
78+
<h3><a href="#http-request-headers"></a>HTTP Request Headers</h3>
7979

8080
<p class="mb-3">The HTTP request headers <code>Content-Type</code> and <code>Accept</code> are used to determine the data format that will be sent in the request and the response. There are several types to choose from. Here are some examples:</p>
8181

@@ -99,7 +99,7 @@ Accept: application/json</pre>
9999

100100
<p class="mb-3">If the <code>Accept</code> header is not present, the server gets to decide the format of the response.</p>
101101

102-
<h4><a href="#content-negotiation-using-url-patterns"></a>Content Negotiation using URL Patterns</h4>
102+
<h3><a href="#content-negotiation-using-url-patterns"></a>Content Negotiation using URL Patterns</h3>
103103

104104
<p class="mb-3">Below are a couple of ways to communicate a preferred data format.</p>
105105

src/Blog/templates/page/blog-resource/dotkernel-api/dotkernel-api-1-0-0-released.html.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
<blockquote><p class="mb-3">Dotkernel API has come a long way since this post was created. <a href="https://www.dotkernel.com/headless-platform/version-7-adds-postgresql-native-uuid-and-php-8-5/" data-type="link" data-id="https://www.dotkernel.com/headless-platform/version-7-adds-postgresql-native-uuid-and-php-8-5/">Check out the newest version of Dotkernel API</a> to stay up to date with the latest functional and security features.</p>
3434
</blockquote>
3535

36-
<h4><a href="https://github.com/dotkernel/api/releases/tag/v1.0.0">DotKernel API 1.0.0</a> was just released!</h4>
36+
<h2><a href="https://github.com/dotkernel/api/releases/tag/v1.0.0">DotKernel API 1.0.0</a> was just released!</h2>
3737
<p class="mb-3"> </p>
38-
<h5>What is DotKernel API?</h5>
38+
<h3>What is DotKernel API?</h3>
3939
<p class="mb-3">It is a <a href="https://github.com/zendframework/zend-expressive">Zend Expressive 3</a> application aiming to help developers quickly and efficiently develop an API.</p>
4040
<p class="mb-3"> </p>
41-
<h5>How does it work?</h5>
41+
<h3>How does it work?</h3>
4242
<p class="mb-3">Under the hood it uses the following libraries:</p>
4343
<ul>
4444
<li><a href="https://github.com/ezimuel/zend-expressive-api">ezimuel/zend-expressive-api</a>: - skeleton application on which this API is based on</li>
@@ -54,7 +54,7 @@
5454
<li><a href="https://github.com/swagger-api/swagger-ui">swagger-api/swagger-ui</a>: ^3.22 - for creating OpenAPI 3 documentation</li>
5555
</ul>
5656
<p class="mb-3"> </p>
57-
<h5>What does it offer?</h5>
57+
<h3>What does it offer?</h3>
5858
<p class="mb-3">Out-of-the-box, DotKernel API provides the following features:</p>
5959
<ul>
6060
<li>Secure authentication via OAuth2</li>

src/Blog/templates/page/blog-resource/dotkernel-api/dotkernel-api-client-side-authorization.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<div class="entry">
3333
<strong>This article covers the basic authorization of a Client application which use a backend built using </strong><a href="https://github.com/dotkernel/api" target="_blank" rel="noopener noreferrer"><strong>DotKernel API</strong></a>
3434

35-
<h3>Authorization Request</h3>
35+
<h2>Authorization Request</h2>
3636
Client application users send a <strong>POST</strong> request to the backend containing the following JSON object:
3737
<pre>
3838
{
@@ -45,7 +45,7 @@ Client application users send a <strong>POST</strong> request to the backend con
4545
}
4646
</pre>
4747

48-
<h3>Authorization Response</h3>
48+
<h2>Authorization Response</h2>
4949
If the credentials are correct, the <strong>API</strong> will return a <strong>JSON</strong> object containing the authentication data:
5050
<pre>
5151
{

0 commit comments

Comments
 (0)