You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: themes/hugo-theme-ladder/exampleSite/content/blog/how-to-create-your-blog-for-free-by-hugo-ladder-in-30min.en.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This article is the second in a series on how to create you blog by hugo ladder
14
14
15
15
### why choose hugo
16
16
17
-
Most websites today fall into two categories - dynamic websites and static websites. Dynamic websites are server-based(or serverless), which can return different content depending on the user. They rely on a content management system (CMS) or database for rendering. So you need to pay for server costs.
17
+
Most websites today fall into two categories - dynamic websites and static websites. Dynamic websites are server-based(or serverless), which can return different content depending on the user. They rely on a content management system (CMS) or database for rendering. So you need to pay for server costs.
18
18
19
19
Static sites generally display the same content to all users. They use server-side rendering to serve HTML, CSS, and Javascript files, which use static site generators (SSG) technology to display the same content to all users. The advantages of a static site include speed, security and SEO. it is also easy to maintain and highly scalable. Since Static Site Generators (SSG) store an already compiled page on a CDN, they load much faster.
20
20
@@ -186,7 +186,7 @@ First we find the `default.md` file in the `archetypes` folder in the root direc
186
186
187
187
```markdown
188
188
---
189
-
title:
189
+
title:
190
190
date: {{ .Date }}
191
191
tags: []
192
192
series: []
@@ -214,7 +214,7 @@ Once created, you can use `hugo server -D` to build and run the blog and open `h
214
214
215
215
### multi language support
216
216
217
-
First, we need to determine which language is the default language of the blog website. Is it multi-language support? For example, `defaultContentLanguage` needs to be set to `en` if the default language is English. If the default language is Chinese it is `zh`.
217
+
First, we need to determine which language is the default language of the blog website. Is it multi-language support? For example, `defaultContentLanguage` needs to be set to `en` if the default language is English. If the default language is Chinese it is `zh`.
218
218
219
219
In addition, if you don't need multi-language support, set `params.options.enableMultiLang` to `false`, and delete the other language configuration which below the `languages`.
220
220
@@ -257,7 +257,7 @@ New social icons can be added by modifying the configuration file, the `params.s
257
257
If you create a new posts, it is recommended to fill the configuration which means:
Copy file name to clipboardExpand all lines: themes/hugo-theme-ladder/exampleSite/content/blog/zh/how-to-create-your-blog-for-free-by-hugo-ladder-in-30min.zh.md
0 commit comments