Skip to content

Commit 336ecd5

Browse files
authored
Fix typos (#91)
1 parent ed8484c commit 336ecd5

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

_includes/header.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{% endfor %}
3939
<li>
4040
<a class="nav-link" href="https://github.com/timber/timber" target="_blank" rel="noreferrer noopener">
41-
<span class="sr-only">Star on Github</span>
41+
<span class="sr-only">Star on GitHub</span>
4242
<svg viewBox="0 0 98 96" aria-hidden="true" focusable="false"><path fill="currentColor" fill-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" clip-rule="evenodd"></path></svg>
4343
</a>
4444
</li>

assets/sass/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ body {
6262
@include font-text;
6363

6464
/*
65-
All colors that are applied to ligth theme should be defined here,
65+
All colors that are applied to light theme should be defined here,
6666
and then use these custom properties in each components as needed.
6767
*/
6868
html[data-theme="light"] & {

assets/sass/_nav-main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
border-bottom: none;
4747

4848
&:hover, &:focus {
49-
// I believe for accessibilty consideration, we need to have underline.
49+
// I believe for accessibility consideration, we need to have underline.
5050
text-decoration: underline;
5151
}
5252

content-static/v1/reference/timber-helper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ As the name suggests these are helpers for Timber (and you!) when developing. Yo
7878
Converts a WP object (WP_Post, WP_Term) into his
7979
equivalent Timber class (Timber\Post, Timber\Term).
8080

81-
If no match is found the function will return the inital argument.
81+
If no match is found the function will return the initial argument.
8282

8383
| Name | Type | Description |
8484
| --- | --- | --- |

content-static/v1/reference/timber-postquery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Set pagination for the collection. Optionally could be used to get pagination wi
5959
### get_query
6060
`get_query( )`
6161

62-
**returns:** `mixed` the query the user orignally passed to the pagination object
62+
**returns:** `mixed` the query the user originally passed to the pagination object
6363

6464

6565

content-static/v1/reference/timber-urlhelper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Get url scheme
148148

149149
**returns:** `boolean` true if $path is an absolute url, false if relative.
150150

151-
This will evaluate wheter a URL is at an aboslute location (like http://example.org/whatever)
151+
This will evaluate whether a URL is at an absolute location (like http://example.org/whatever)
152152

153153
| Name | Type | Description |
154154
| --- | --- | --- |
@@ -183,7 +183,7 @@ Works with domains, subdomains and protocol relative domains.
183183

184184
This function is slightly different from the one below in the case of:
185185
an image hosted on the same domain BUT on a different site than the
186-
Wordpress install will be reported as external content.
186+
WordPress install will be reported as external content.
187187

188188
| Name | Type | Description |
189189
| --- | --- | --- |

content-static/v1/reference/timber-user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menu:
55
parent: "reference"
66
---
77

8-
This is used in Timber to represent users retrived from WordPress. You can call `$my_user = new Timber\User(123);` directly, or access it through the `{{ post.author }}` method.
8+
This is used in Timber to represent users retrieved from WordPress. You can call `$my_user = new Timber\User(123);` directly, or access it through the `{{ post.author }}` method.
99

1010
<!--more-->
1111

0 commit comments

Comments
 (0)