From 47c949aa3c0a687a3c7a70f0d697d147c6196654 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Thu, 16 Apr 2020 23:48:38 +0100 Subject: theme: upgrade to latest v4.9-dev - get singular taxonomy URLs --- config/_default/config.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') 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 = "^" 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" ] -- cgit v1.2.3