theme: upgrade to latest - support Hugo v0.60
This commit is contained in:
parent
02e73f183e
commit
04cba75116
4 changed files with 17 additions and 9 deletions
|
@ -47,13 +47,16 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
|
||||||
mediaType = "application/manifest+json"
|
mediaType = "application/manifest+json"
|
||||||
rel = "manifest"
|
rel = "manifest"
|
||||||
|
|
||||||
# Configure BlackFriday Markdown rendering.
|
[markup]
|
||||||
# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
|
defaultMarkdownHandler = "goldmark"
|
||||||
[blackfriday]
|
[markup.goldmark]
|
||||||
hrefTargetBlank = true # `true` opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424
|
[markup.goldmark.renderer]
|
||||||
angledQuotes = false
|
unsafe = true # Enable user to embed HTML snippets in Markdown content.
|
||||||
latexDashes = true
|
[markup.highlight]
|
||||||
extensions = ["backslashLineBreak"]
|
codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher.
|
||||||
|
[markup.tableOfContents]
|
||||||
|
startLevel = 2
|
||||||
|
endLevel = 3
|
||||||
|
|
||||||
[imaging]
|
[imaging]
|
||||||
resampleFilter = "lanczos"
|
resampleFilter = "lanczos"
|
||||||
|
|
|
@ -212,6 +212,11 @@ plugins_js = []
|
||||||
shortname = "" # Paste the shortname from your Disqus dashboard.
|
shortname = "" # Paste the shortname from your Disqus dashboard.
|
||||||
show_count = true # Show comment count in page header? (true/false)
|
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
|
## Search
|
||||||
############################
|
############################
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.58.3"
|
HUGO_VERSION = "0.60.1"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 023a9fef27f218a03735bab68141d7712a8e5a16
|
Subproject commit aa4c95277c2ddf6dfb16591e7cf38b649ec42ca2
|
Loading…
Reference in a new issue