Move highlight config to site step
This commit is contained in:
@@ -134,6 +134,11 @@ please share it by [posting a link](https://github.com/willfaught/paige/discussi
|
|||||||
```sh
|
```sh
|
||||||
$ cd yoursite
|
$ cd yoursite
|
||||||
$ hugo mod init github.com/youraccount/yoursite
|
$ hugo mod init github.com/youraccount/yoursite
|
||||||
|
$ cat >>hugo.toml <<EOF
|
||||||
|
[markup.highlight]
|
||||||
|
noclasses = false
|
||||||
|
style = "github"
|
||||||
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Configure the Paige module:
|
6. Configure the Paige module:
|
||||||
@@ -142,9 +147,6 @@ please share it by [posting a link](https://github.com/willfaught/paige/discussi
|
|||||||
$ cd yoursite
|
$ cd yoursite
|
||||||
$ hugo mod get github.com/willfaught/paige@latest
|
$ hugo mod get github.com/willfaught/paige@latest
|
||||||
$ cat >>hugo.toml <<EOF
|
$ cat >>hugo.toml <<EOF
|
||||||
[markup.highlight]
|
|
||||||
noclasses = false
|
|
||||||
style = "github"
|
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/willfaught/paige"
|
path = "github.com/willfaught/paige"
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user