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: content/en/getting-started/quick-start.md
-10
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,6 @@ hugo version
49
49
50
50
It should state that it is `extended`. If it does not, uninstall it and try another installation method.
51
51
52
-
{{< asciicast ItACREbFgvJ0HjnSNeTknxWy9 >}}
53
-
54
52
## Step 2: Create a New Site
55
53
56
54
```bash
@@ -59,8 +57,6 @@ hugo new site quickstart
59
57
60
58
The above will create a new Hugo site in a folder named `quickstart`.
61
59
62
-
{{< asciicast 3mf1JGaN0AX0Z7j5kLGl3hSh8 >}}
63
-
64
60
## Step 3: Add a Theme
65
61
66
62
See [themes.gohugo.io](https://themes.gohugo.io/) for a list of themes to consider. This quickstart uses the beautiful [Ananke theme](https://themes.gohugo.io/gohugo-theme-ananke/).
@@ -79,8 +75,6 @@ Then, add the theme to the site configuration:
79
75
echo theme = \"ananke\">> config.toml
80
76
```
81
77
82
-
{{< asciicast 7naKerRYUGVPj8kiDmdh5k5h9 >}}
83
-
84
78
## Step 4: Add Some Content
85
79
86
80
You can manually create content files (for example as `content/<CATEGORY>/<FILE>.<FORMAT>`) and provide metadata in them, however you can use the `new` command to do a few things for you (like add title and date):
@@ -89,8 +83,6 @@ You can manually create content files (for example as `content/<CATEGORY>/<FILE>
89
83
hugo new posts/my-first-post.md
90
84
```
91
85
92
-
{{< asciicast eUojYCfRTZvkEiqc52fUsJRBR >}}
93
-
94
86
Edit the newly created content file if you want, it will start with something like this:
95
87
96
88
```md
@@ -110,8 +102,6 @@ Drafts do not get deployed; once you finish a post, update the header of the pos
110
102
111
103
Now, start the Hugo server with [drafts](/getting-started/usage/#draft-future-and-expired-content) enabled:
Copy file name to clipboardexpand all lines: content/en/news/0.28-relnotes/index.md
-3
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,6 @@ images:
12
12
13
13
Hugo has been caching the highlighter output to disk, so for repeated builds it has been fine, but this little snippet, showing a build of the [gohugo.io](https://gohugo.io/) site without cache and with both Pygments and Chroma, should illustrate the improvement:
14
14
15
-
{{< asciicast Lc5iwTVny2kuUC8lqvNnL6oDU >}}
16
-
17
15
See the [Updated Documentation](https://gohugo.io/content-management/syntax-highlighting/) for more information about how this works.
18
16
19
17
Worth mentioning is also the `liveReloadPort` flag on `hugo server`, which makes it possible to do "live reloads" behind a HTTPS proxy, which makes for very cool remote customer demos.
@@ -61,4 +59,3 @@ Hugo now has:
61
59
* Add `liveReloadPort` flag to server [b1804776](https://github.com/gohugoio/hugo/commit/b180477631555824a06293053e2b6e63c5f07361)[@bep](https://github.com/bep)[#3882](https://github.com/gohugoio/hugo/issues/3882)
62
60
* Add `noHTTPCache` flag to hugo server (default on) [0b34af21](https://github.com/gohugoio/hugo/commit/0b34af216154367af7f53ce93d44e6b3d58c3f34)[@bep](https://github.com/bep)[#3897](https://github.com/gohugoio/hugo/issues/3897)
63
61
* Make `noHTTPCache` default on [80c7ea60](https://github.com/gohugoio/hugo/commit/80c7ea60a0e0f488563a6b7311f3d4c23457aac7)[@bep](https://github.com/bep)[#3897](https://github.com/gohugoio/hugo/issues/3897)
0 commit comments