diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2020-04-17 01:48:38 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2020-04-17 01:48:38 +0300 |
commit | 47c949aa3c0a687a3c7a70f0d697d147c6196654 (patch) | |
tree | 5d73bb6d43879d9246898ee06fdcb062bdfef0b5 /config | |
parent | 0a539c1b8993ba3254bf7b9789bb59fa405a513e (diff) |
theme: upgrade to latest v4.9-dev - get singular taxonomy URLs
Diffstat (limited to 'config')
-rw-r--r-- | config/_default/config.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml index 0162a0d5..ba89b491 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -37,6 +37,13 @@ enableEmoji = true footnotereturnlinkcontents = "<sup>^</sup>" ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] +# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic. +[permalinks] + authors = "/author/:slug/" + tags = "/tag/:slug/" + categories = "/category/:slug/" + publication_types = "/publication-type/:slug/" + [outputs] home = [ "HTML", "RSS", "JSON", "WebAppManifest" ] section = [ "HTML", "RSS" ] |