mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
fix: fix markdown warnings by adding alt texts
This commit is contained in:
@@ -51,7 +51,7 @@ Here are SITE configuration options
|
|||||||
|
|
||||||
You can specify site's title or logo image in `src/config.ts` file.
|
You can specify site's title or logo image in `src/config.ts` file.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```js
|
```js
|
||||||
// file: src/config.ts
|
// file: src/config.ts
|
||||||
@@ -77,7 +77,7 @@ It is recommended that you specify width and height of your logo image. You can
|
|||||||
|
|
||||||
You can configure your own social links along with its icons.
|
You can configure your own social links along with its icons.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Currently 19 social icons are supported. (Github, LinkedIn, Facebook etc.)
|
Currently 19 social icons are supported. (Github, LinkedIn, Facebook etc.)
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ In this article, I will explain step by step process of connecting AstroPaper th
|
|||||||
|
|
||||||
First of all, you have to create an account at [Forestry website](https://app.forestry.io/login "Forestry Login Page"). I usually sign up with my Github account.
|
First of all, you have to create an account at [Forestry website](https://app.forestry.io/login "Forestry Login Page"). I usually sign up with my Github account.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Import AstroPaper site (repository)
|
## Import AstroPaper site (repository)
|
||||||
|
|
||||||
@@ -37,19 +37,19 @@ This part is importing the repository to Forestry and a little bit of set up pro
|
|||||||
|
|
||||||
After logging in/signing up an account, import your AstroPaper site by clicking "Add Site" button.
|
After logging in/signing up an account, import your AstroPaper site by clicking "Add Site" button.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Select SSG
|
### Select SSG
|
||||||
|
|
||||||
In this case, just choose "Others"
|
In this case, just choose "Others"
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Select Git Provider
|
### Select Git Provider
|
||||||
|
|
||||||
My git provider is Github and I assume yours is the same. So, choose "Github".
|
My git provider is Github and I assume yours is the same. So, choose "Github".
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
After this, the process of importing site (repo) is done.
|
After this, the process of importing site (repo) is done.
|
||||||
|
|
||||||
@@ -59,19 +59,19 @@ The next phase after importing site is setting up sidebar menu. You can add many
|
|||||||
|
|
||||||
Navigate to "Finish setup process" > "Set up sidebar" and click "Configure sitebar"
|
Navigate to "Finish setup process" > "Set up sidebar" and click "Configure sitebar"
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Then, click "Add Section" button.
|
Then, click "Add Section" button.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
After that, choose DIRECTORY for the Section Type.
|
After that, choose DIRECTORY for the Section Type.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Then, configure the directory section. You can follow along with my setup.
|
Then, configure the directory section. You can follow along with my setup.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
After this step, you should see a sidebar menu "Blog Posts" and some blog posts.
|
After this step, you should see a sidebar menu "Blog Posts" and some blog posts.
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ After this step, you should see a sidebar menu "Blog Posts" and some blog posts.
|
|||||||
|
|
||||||
In Forestry CMS, you can set up different options for media (aka assets) such as Cloudinary, git commit media etc. I usually store my assets in [Cloudinary](https://cloudinary.com/). To set up media import, go to Settings > Media. Then select your image storage provider. (I chose Cloudinary).
|
In Forestry CMS, you can set up different options for media (aka assets) such as Cloudinary, git commit media etc. I usually store my assets in [Cloudinary](https://cloudinary.com/). To set up media import, go to Settings > Media. Then select your image storage provider. (I chose Cloudinary).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
You can see details of Forestry Cloudinary setup at [Forestry documentation](https://forestry.io/docs/media/cloudinary/).
|
You can see details of Forestry Cloudinary setup at [Forestry documentation](https://forestry.io/docs/media/cloudinary/).
|
||||||
|
|
||||||
@@ -89,17 +89,17 @@ After setting everything up, you can set up front matter template for your futur
|
|||||||
|
|
||||||
Then, click "Add Template" button at the top right corner.
|
Then, click "Add Template" button at the top right corner.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Select new template based on existing document.
|
Select new template based on existing document.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Then, add template name and choose one of my document page as template.
|
Then, add template name and choose one of my document page as template.
|
||||||
|
|
||||||
As the final setup, make some adjustment in the front matter field settings.
|
As the final setup, make some adjustment in the front matter field settings.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Here are some adjustments you have to made.
|
Here are some adjustments you have to made.
|
||||||
|
|
||||||
|
|||||||
@@ -58,25 +58,25 @@ Here are some features of the project.
|
|||||||
|
|
||||||
Users can change multiple themes. At the time of writing this post, there are 5 themes; and more themes will probably be added in the future. The selected theme is saved in local storage so that the theme won’t change on page refresh.
|
Users can change multiple themes. At the time of writing this post, there are 5 themes; and more themes will probably be added in the future. The selected theme is saved in local storage so that the theme won’t change on page refresh.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Command-line Completion
|
### Command-line Completion
|
||||||
|
|
||||||
To look and feel as close to the actual terminal as possible, I put a command-line completion feature which auto fills in partially typed commands by simply pressing ‘Tab’ or ‘Ctrl + i’.
|
To look and feel as close to the actual terminal as possible, I put a command-line completion feature which auto fills in partially typed commands by simply pressing ‘Tab’ or ‘Ctrl + i’.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Previous Commands
|
### Previous Commands
|
||||||
|
|
||||||
Users can go back to the previous commands or navigate the previously typed commands by pressing Up & Down Arrows.
|
Users can go back to the previous commands or navigate the previously typed commands by pressing Up & Down Arrows.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### View/Clear Command History
|
### View/Clear Command History
|
||||||
|
|
||||||
previously typed commands can be viewed by typing ‘history’ in the command line. All the command history and terminal screen can be wiped out by typing ‘clear’ or pressing ‘Ctrl + l’.
|
previously typed commands can be viewed by typing ‘history’ in the command line. All the command history and terminal screen can be wiped out by typing ‘clear’ or pressing ‘Ctrl + l’.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Outro
|
## Outro
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user