64 lines
2 KiB
TOML
64 lines
2 KiB
TOML
# Configuration of Academic
|
|
# Documentation: https://sourcethemes.com/academic/
|
|
#
|
|
# This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
|
|
# Each configuration section is defined by a name in square brackets (e.g. `[outputs]`).
|
|
|
|
title = "Blue Duck Valley Rd"
|
|
baseurl = "https://juju.nz/michaelh/"
|
|
|
|
copyright = "© 2017 Michael Hope"
|
|
|
|
theme = "academic"
|
|
enableGitInfo = true
|
|
defaultContentLanguage = "en"
|
|
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
|
|
defaultContentLanguageInSubdir = false
|
|
removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687
|
|
|
|
summaryLength = 30 # Listing summary length in words. Also, see `abstract_length` in `params.toml`.
|
|
paginate = 10 # Number of items per page in paginated lists.
|
|
enableEmoji = true
|
|
footnotereturnlinkcontents = "<sup>^</sup>"
|
|
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
|
|
|
|
[outputs]
|
|
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
|
|
section = [ "HTML", "RSS" ]
|
|
|
|
[mediaTypes."application/manifest+json"]
|
|
suffixes = ["webmanifest"]
|
|
|
|
[outputFormats.WebAppManifest]
|
|
mediaType = "application/manifest+json"
|
|
rel = "manifest"
|
|
|
|
[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"
|
|
quality = 90
|
|
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
|
|
|
|
# Taxonomies.
|
|
[taxonomies]
|
|
tag = "tags"
|
|
category = "categories"
|
|
publication_type = "publication_types"
|
|
author = "authors"
|
|
|
|
[security]
|
|
enableInlineShortcodes = false
|
|
[security.exec]
|
|
allow = ['^(dart-)?sass(-embedded)?$', '^go$', '^npx$', '^postcss$', '^pandoc$']
|
|
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+)$']
|