1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-11-06 18:05:41 -05:00

Update README.md [skip ci]

This commit is contained in:
2020-02-20 12:49:47 -05:00
parent c3ef7b92f8
commit ccbfec2c65

View File

@@ -12,6 +12,8 @@ yarn add hugo-extended --dev
`hugo-extended` defaults to the [extended version](https://gohugo.io/troubleshooting/faq/#i-get-tocss--this-feature-is-not-available-in-your-current-hugo-version) of Hugo on [supported platforms](https://github.com/gohugoio/hugo/releases), and automatically falls back to vanilla Hugo if unsupported (mainly on 32-bit systems).
This package's version numbers align with Hugo's — `hugo-extended@0.64.1` installs Hugo v0.64.1, for example.
## Usage
The following examples simply refer to executing Hugo as a local Node dependency. See the [official Hugo docs](https://gohugo.io/documentation/) for guidance on actual Hugo usage.
@@ -27,8 +29,25 @@ The following examples simply refer to executing Hugo as a local Node dependency
}
```
```sh
npm start
```bash
$ npm start
Building sites …
| EN
-------------------+------
Pages | 50
Paginator pages | 0
Non-page files | 138
Static files | 39
Processed images | 63
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 2361 ms
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
```
### via API: