Skip to content

Commit 9ee01aa

Browse files
authored
fix: typos across codebase (#543)
1 parent bd2f335 commit 9ee01aa

8 files changed

+42
-42
lines changed

AstroPaper-lighthouse-score.svg

Lines changed: 32 additions & 32 deletions
Loading

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ All notable changes to this project will be documented in this file. See [standa
317317

318318
* [#133](https://github.com/satnaing/astro-paper/issues/133) update LOCALE config to cover overall locales ([cd02b04](https://github.com/satnaing/astro-paper/commit/cd02b047d2b5e3b4a2940c0ff30568cdebcec0b8))
319319
* [#72](https://github.com/satnaing/astro-paper/issues/72) replace SITE.website with a URL in astro.config site value ([26ecd17](https://github.com/satnaing/astro-paper/commit/26ecd173ddec1075abb6ede9bbb62572b9f74b33))
320-
* anchor oveflow on small screen size ([d025c91](https://github.com/satnaing/astro-paper/commit/d025c914d91a9b7969c8db4bd6a700723ef86a39))
320+
* anchor overflow on small screen size ([d025c91](https://github.com/satnaing/astro-paper/commit/d025c914d91a9b7969c8db4bd6a700723ef86a39))
321321
* **css:** text wrap in code blocks ([0c92492](https://github.com/satnaing/astro-paper/commit/0c92492959bed20f144d5d949116891d61c8e098))
322322
* decode unicode tag chars in breadcrumb ([#175](https://github.com/satnaing/astro-paper/issues/175)) ([058c790](https://github.com/satnaing/astro-paper/commit/058c790d26cbeab286679a8a8e3bad6c14042d6d))
323323
* get og image url correctly ([7f3edbd](https://github.com/satnaing/astro-paper/commit/7f3edbdecdce597d15e562e7d497d69af505d550))

src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ interface Social {
1818

1919
export const SOCIALS: Social[] = [
2020
{
21-
name: "Github",
21+
name: "GitHub",
2222
href: "https://github.com/satnaing/astro-paper",
23-
linkTitle: `${SITE.title} on Github`,
23+
linkTitle: `${SITE.title} on GitHub`,
2424
icon: IconGitHub,
2525
},
2626
{

src/data/blog/examples/portfolio-website-development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ I've been always thinking about launching my own website with my custom domain n
2828

2929
So, "what about blog?" you may ask. Yeah, blog also has been in my project list for some time. I always wanted to make a blog project using some of the latest technologies. However, I've been busy with my works and other projects so that blog project has never been started.
3030

31-
In these days, I tend to develop my own projects with the focus in good quality rather than quantity. After the project is done, I usually put a proper readme file in the Github repo. But Github repo readme is only suitable for technical aspects (this is just my thought). I want to write down my experiences and challenges. Thus, I decided to make my own blog. Plus, at this point, I have decent experiences and confidence to develop this project.
31+
In these days, I tend to develop my own projects with the focus in good quality rather than quantity. After the project is done, I usually put a proper readme file in the GitHub repo. But GitHub repo readme is only suitable for technical aspects (this is just my thought). I want to write down my experiences and challenges. Thus, I decided to make my own blog. Plus, at this point, I have decent experiences and confidence to develop this project.
3232

3333
## Tech Stack
3434

src/data/blog/how-to-configure-astropaper-theme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ You can configure social links in `SOCIALS` object inside `constants.ts`.
163163
```ts file=src/constants.ts
164164
export const SOCIALS = [
165165
{
166-
name: "Github",
166+
name: "GitHub",
167167
href: "https://github.com/satnaing/astro-paper",
168-
linkTitle: ` ${SITE.title} on Github`,
168+
linkTitle: ` ${SITE.title} on GitHub`,
169169
icon: IconGitHub,
170170
},
171171
{

src/data/blog/how-to-integrate-giscus-comments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ The approach is serverless, as the comments are stored on _GitHub_ and dynamical
2929

3030
_Giscus_ can be set up easily on [giscus.app](https://giscus.app/), but I will outline the process shortly still.
3131

32-
### Prequisites
32+
### Prerequisites
3333

34-
Prequisites to get _Giscus_ working are
34+
Prerequisites to get _Giscus_ working are
3535

3636
- the repository is [public](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility#making-a-repository-public)
3737
- the [Giscus app](https://github.com/apps/giscus) is installed

src/data/blog/how-to-update-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ In most cases, the files and directories you might not want to override (as you'
6565

6666
If you’re someone who only updates the bare minimum of the template, it should be okay to replace everything with the latest AstroPaper except the above files and directories. It’s like pure Android OS and other vendor-specific OSes like OneUI. The less you modify the base, the less you have to update.
6767

68-
You can manually replace every file one by one, or you can use the magic of git to update everything. I won’t show you the manual replacement process since it is very straightforward. If you’re not interested in that straightfoward and inefficient method, bear with me 🐻.
68+
You can manually replace every file one by one, or you can use the magic of git to update everything. I won’t show you the manual replacement process since it is very straightforward. If you’re not interested in that straightforward and inefficient method, bear with me 🐻.
6969

7070
### Updating AstroPaper using Git
7171

src/data/blog/setting-dates-via-git-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ This could be added to only look for files that we markdown files in the `blog`
8585

8686
The regex will capture the two parts, the letter and the file path. We are going to pipe this list into a while loop to iterate over the matching lines and assign the letter to `a` and the path to `b`. We are going to ignore `a` for now.
8787

88-
To know the draft staus of the file, we need its frontmatter. In the following code we are using `cat` to get the content of the file, then using `awk` to split the file on the frontmatter separator (`---`) and taking the second block (the fonmtmatter, the bit between the `---`). From here we are using `awk` again to find the draft key and print is value.
88+
To know the draft status of the file, we need its frontmatter. In the following code we are using `cat` to get the content of the file, then using `awk` to split the file on the frontmatter separator (`---`) and taking the second block (the fonmtmatter, the bit between the `---`). From here we are using `awk` again to find the draft key and print is value.
8989

9090
```shell
9191
filecontent=$(cat "$file")

0 commit comments

Comments
 (0)