Skip to content

Commit ad1212e

Browse files
committed
Update to Hugo 0.62.2
1 parent a1cd690 commit ad1212e

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212

1313
## Use
1414

15+
The client library used to build the ToC does not handle Unicode very well. To get around this in Hugo >= 0.62.2, put this in your site config:
16+
17+
```toml
18+
[markup]
19+
[markup.goldmark]
20+
[markup.goldmark.parser]
21+
autoHeadingIDType = "github-ascii"
22+
```
23+
1524
**Note:** this theme requires Hugo >= 0.56.0 to run. If you want to edit the SCSS styles, you need:
1625

1726
* The extended Hugo version.

exampleSite/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ pygmentsUseClasses = false
1515

1616
defaultContentLanguage = "en"
1717

18+
[markup]
19+
[markup.goldmark]
20+
[markup.goldmark.parser]
21+
autoHeadingIDType = "github-ascii"
22+
1823
[module]
1924
[module.hugoVersion]
2025
[[module.imports]]

netlify.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ publish = "exampleSite/public"
33
command = "hugo --gc -s exampleSite --minify"
44

55
[context.production.environment]
6-
HUGO_VERSION = "0.62.1"
6+
HUGO_VERSION = "0.62.2"
77

88
[context.deploy-preview]
99
command = "hugo -s exampleSite -D -F -b $DEPLOY_PRIME_URL"
1010

1111
[context.deploy-preview.environment]
12-
HUGO_VERSION = "0.62.1"
12+
HUGO_VERSION = "0.62.2"
1313

1414
[context.branch-deploy]
1515
command = "hugo -s exampleSite --gc -b $DEPLOY_PRIME_URL"
1616

1717
[context.branch-deploy.environment]
18-
HUGO_VERSION = "0.62.1"
18+
HUGO_VERSION = "0.62.2"
1919

2020

0 commit comments

Comments
 (0)