diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2019-12-07 23:07:41 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2019-12-07 23:07:41 +0300 |
commit | 04cba7511628a7de9ef8389da24d87070256c981 (patch) | |
tree | 15e6012b3ef1135e3dc6645509d1b2834f0ff493 /config | |
parent | 02e73f183eb3a956c1abbbb87cb6f5f0c5ec8a1d (diff) |
theme: upgrade to latest - support Hugo v0.60
Diffstat (limited to 'config')
-rw-r--r-- | config/_default/config.toml | 17 | ||||
-rw-r--r-- | config/_default/params.toml | 5 |
2 files changed, 15 insertions, 7 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml index db638ad1..8e9b871b 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -47,13 +47,16 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", " mediaType = "application/manifest+json" rel = "manifest" -# Configure BlackFriday Markdown rendering. -# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday -[blackfriday] - hrefTargetBlank = true # `true` opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424 - angledQuotes = false - latexDashes = true - extensions = ["backslashLineBreak"] +[markup] + defaultMarkdownHandler = "goldmark" + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true # Enable user to embed HTML snippets in Markdown content. + [markup.highlight] + codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher. + [markup.tableOfContents] + startLevel = 2 + endLevel = 3 [imaging] resampleFilter = "lanczos" diff --git a/config/_default/params.toml b/config/_default/params.toml index dc0fe94f..2a43655e 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -212,6 +212,11 @@ plugins_js = [] shortname = "" # Paste the shortname from your Disqus dashboard. show_count = true # Show comment count in page header? (true/false) + # Configuration of Commento. + [comments.commento] + # If self-hosting Commento, enter its URL here (e.g. "https://commento.?.com"), otherwise leave empty. + url = "" + ############################ ## Search ############################ |