mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-05-22 00:22:48 +00:00
37 lines
532 B
Markdown
37 lines
532 B
Markdown
---
|
||
title: Hugo
|
||
homepage: https://github.com/gohugoio/hugo
|
||
tagline: |
|
||
Hugo: The world’s fastest framework for building websites.
|
||
---
|
||
|
||
## Updating `hugo`
|
||
|
||
```bash
|
||
webi hugo@stable
|
||
```
|
||
|
||
Use the `@beta` tag for pre-releases.
|
||
|
||
## Cheat Sheet
|
||
|
||
> Hugo is one of the most popular open-source static site generators. It makes
|
||
> building websites fun again.
|
||
|
||
### Create a new site
|
||
|
||
```bash
|
||
# create a new site
|
||
hugo new site ./blog.example.com
|
||
```
|
||
|
||
```bash
|
||
# compile a site
|
||
hugo
|
||
```
|
||
|
||
```bash
|
||
# serve a site in dev mode
|
||
hugo server -D
|
||
```
|