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: en/getting-started.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
title: Getting Started
3
-
description: ''
4
-
summary: ''
3
+
description: ""
4
+
summary: ""
5
5
toc: true
6
6
authors: []
7
7
tags: []
8
8
categories: []
9
9
series: []
10
-
date: '2020-10-19T22:50:23+08:00'
11
-
lastmod: '2020-10-19T22:50:23+08:00'
10
+
date: "2020-10-19T22:50:23+08:00"
11
+
lastmod: "2020-10-19T22:50:23+08:00"
12
12
draft: false
13
13
weight: 1
14
14
---
@@ -92,6 +92,8 @@ After completing the above steps, use the following command to preview the proje
92
92
hugo server
93
93
```
94
94
95
+
> If you encounter error like `Error: Error building site: POSTCSS: failed to transform "css/eureka.css" (text/css): resource "css/css/eureka.css_09b9b8e200b8c676e85ddca87a9596ca" not found in file cache`, please try to update Hugo to 0.100.0 or above.
96
+
95
97
Drafts will not be deployed by Hugo, so you need to set the `draft` property of the content header to `false` or use `hugo server -D` to preview the website.
96
98
97
99
If you are not familiar with the basic usage of Hugo or want to know more about Hugo, you can refer to [Hugo Basic Usage](https://gohugo.io/getting-started/usage/).
@@ -117,9 +119,9 @@ authors: []
117
119
tags: []
118
120
categories: []
119
121
series: []
120
-
date: '2020-10-20T10:30:48+08:00'
121
-
lastmod: '2020-10-20T10:30:48+08:00'
122
-
featuredImage: ''
122
+
date: "2020-10-20T10:30:48+08:00"
123
+
lastmod: "2020-10-20T10:30:48+08:00"
124
+
featuredImage: ""
123
125
draft: false
124
126
---
125
127
```
@@ -161,4 +163,4 @@ Similar to `hugo server`, `hugo` will not generate draft content. The generated
161
163
<divclass="flex flex-col items-center">
162
164
<span class="mb-4">Please <a href="https://github.com/wangchucheng/hugo-eureka">Star</a> Eureka if you like it!</span>
163
165
<a class="github-button" href="https://github.com/wangchucheng/hugo-eureka" data-size="large" aria-label="Star wangchucheng/hugo-eureka on GitHub">Star</a>
如果你是新建的 Hugo 项目,`content`文件夹下默认没有内容。你可以将[exampleSite](https://github.com/wangchucheng/hugo-eureka/tree/master/exampleSite)中的`content`文件夹复制到项目根目录下预览主题效果。
66
66
67
67
完成以上步骤后使用以下命令即可在浏览器中预览项目:
68
68
69
69
```shell
70
70
hugo server
71
71
```
72
72
73
-
草稿不会被Hugo部署,所以你需要将内容头部的`draft`属性设为`false`或使用`hugo server -D`预览网站。
73
+
> 如果你遇到了例如`Error: Error building site: POSTCSS: failed to transform "css/eureka.css" (text/css): resource "css/css/eureka.css_09b9b8e200b8c676e85ddca87a9596ca" not found in file cache`的报错请将 Hugo 升级至 0.100.0 或以上版本。
如果你是新建的 Hugo 项目,`content`文件夹下默认没有内容。你可以将[exampleSite](https://github.com/wangchucheng/hugo-eureka/tree/master/exampleSite)中的`content`文件夹复制到项目根目录下预览主题效果。
92
94
93
95
完成以上步骤后使用以下命令即可在浏览器中预览项目:
94
96
95
97
```shell
96
98
hugo server
97
99
```
98
100
99
-
草稿不会被Hugo部署,所以你需要将内容头部的`draft`属性设为`false`或使用`hugo server -D`预览网站。
101
+
草稿不会被 Hugo 部署,所以你需要将内容头部的`draft`属性设为`false`或使用`hugo server -D`预览网站。
0 commit comments