diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-05 23:10:00 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-05 23:29:59 +0300 |
commit | ad1212e33e83a0b032edf0b999a0bc05970179d8 (patch) | |
tree | 7b146f16f7fcdbe4e6272b7eb5371223303d9df2 | |
parent | a1cd690793037cd6893a332081509a5a5debe467 (diff) |
Update to Hugo 0.62.2
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | exampleSite/config.toml | 5 | ||||
-rw-r--r-- | netlify.toml | 6 |
3 files changed, 17 insertions, 3 deletions
@@ -12,6 +12,15 @@ ## Use +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: + +```toml +[markup] + [markup.goldmark] + [markup.goldmark.parser] + autoHeadingIDType = "github-ascii" +``` + **Note:** this theme requires Hugo >= 0.56.0 to run. If you want to edit the SCSS styles, you need: * The extended Hugo version. diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d0178b1..053b705 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -15,6 +15,11 @@ pygmentsUseClasses = false defaultContentLanguage = "en" +[markup] + [markup.goldmark] + [markup.goldmark.parser] + autoHeadingIDType = "github-ascii" + [module] [module.hugoVersion] [[module.imports]] diff --git a/netlify.toml b/netlify.toml index 18d125b..69ea1ec 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,18 +3,18 @@ publish = "exampleSite/public" command = "hugo --gc -s exampleSite --minify" [context.production.environment] -HUGO_VERSION = "0.62.1" +HUGO_VERSION = "0.62.2" [context.deploy-preview] command = "hugo -s exampleSite -D -F -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.62.1" +HUGO_VERSION = "0.62.2" [context.branch-deploy] command = "hugo -s exampleSite --gc -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.62.1" +HUGO_VERSION = "0.62.2" |