feat: unpublish author pages in the default tpl
Based on feedback from users creating personal sites and not wanting to publish dedicated page for each author. But keep publishing author pages in the demo for now.
|
@ -38,7 +38,6 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
|
||||||
|
|
||||||
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
|
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
|
||||||
[permalinks]
|
[permalinks]
|
||||||
authors = "/author/:slug/"
|
|
||||||
tags = "/tag/:slug/"
|
tags = "/tag/:slug/"
|
||||||
categories = "/category/:slug/"
|
categories = "/category/:slug/"
|
||||||
publication_types = "/publication-type/:slug/"
|
publication_types = "/publication-type/:slug/"
|
||||||
|
|
|
@ -163,9 +163,6 @@ sharing = true
|
||||||
# Page specific copyright licenses are also possible by adding this option to a page's front matter.
|
# Page specific copyright licenses are also possible by adding this option to a page's front matter.
|
||||||
copyright_license = {enable = false, allow_derivatives = false, share_alike = true, allow_commercial = false, notice = "This work is licensed under {license}"}
|
copyright_license = {enable = false, allow_derivatives = false, share_alike = true, allow_commercial = false, notice = "This work is licensed under {license}"}
|
||||||
|
|
||||||
# Link authors to their profile page? (true/false)
|
|
||||||
link_authors = true
|
|
||||||
|
|
||||||
# Abstract length (characters) in the Compact and Portfolio Card list views. Also, see `summaryLength` in `config.toml`.
|
# Abstract length (characters) in the Compact and Portfolio Card list views. Also, see `summaryLength` in `config.toml`.
|
||||||
abstract_length = 135
|
abstract_length = 135
|
||||||
|
|
||||||
|
|
9
content/authors/_index.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
# To publish author profile pages, remove all of the `_build` and `cascade` settings below.
|
||||||
|
_build:
|
||||||
|
render: never
|
||||||
|
cascade:
|
||||||
|
_build:
|
||||||
|
render: never
|
||||||
|
list: always
|
||||||
|
---
|
|
@ -163,9 +163,6 @@ sharing = true
|
||||||
# Page specific copyright licenses are also possible by adding this option to a page's front matter.
|
# Page specific copyright licenses are also possible by adding this option to a page's front matter.
|
||||||
copyright_license = {enable = false, allow_derivatives = false, share_alike = true, allow_commercial = false, notice = "This work is licensed under {license}"}
|
copyright_license = {enable = false, allow_derivatives = false, share_alike = true, allow_commercial = false, notice = "This work is licensed under {license}"}
|
||||||
|
|
||||||
# Link authors to their profile page? (true/false)
|
|
||||||
link_authors = true
|
|
||||||
|
|
||||||
# Abstract length (characters) in the Compact and Portfolio Card list views. Also, see `summaryLength` in `config.toml`.
|
# Abstract length (characters) in the Compact and Portfolio Card list views. Also, see `summaryLength` in `config.toml`.
|
||||||
abstract_length = 135
|
abstract_length = 135
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,4 @@ module github.com/wowchemy/starter-academic/exampleSite
|
||||||
|
|
||||||
go 1.15
|
go 1.15
|
||||||
|
|
||||||
require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d // indirect
|
require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201213184117-a0b9887f37fb // indirect
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d h1:s1Eo9hqvzzN6I+jpx4/GG4yTwCh/26MnZaPvdqrqbis=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201213184117-a0b9887f37fb h1:deUZQs7pFGfVwFhQnKelKq5tpdD32ccXH8gDwxZTQtE=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201213184117-a0b9887f37fb/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||||
|
|
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 912 B |
After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 1 KiB |
After Width: | Height: | Size: 957 B |
After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 5.2 KiB |
4
go.mod
|
@ -3,6 +3,6 @@ module github.com/wowchemy/starter-academic
|
||||||
go 1.15
|
go 1.15
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201211023654-f6090cd7e55d // indirect
|
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201213184117-a0b9887f37fb // indirect
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201213184117-a0b9887f37fb
|
||||||
)
|
)
|
||||||
|
|
8
go.sum
|
@ -1,4 +1,4 @@
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201211023654-f6090cd7e55d h1:o3oXxH4+9fTBcBVJ5hAiFCJjJ5ZyQZV7glQJZLJeHc8=
|
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201213184117-a0b9887f37fb h1:EkBd7ZWpXknKgJ3pLJMUbnL5wtVmze/7qhlKIYfIv5k=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201211023654-f6090cd7e55d/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY=
|
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201213184117-a0b9887f37fb/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d h1:s1Eo9hqvzzN6I+jpx4/GG4yTwCh/26MnZaPvdqrqbis=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201213184117-a0b9887f37fb h1:deUZQs7pFGfVwFhQnKelKq5tpdD32ccXH8gDwxZTQtE=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201211023654-f6090cd7e55d/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201213184117-a0b9887f37fb/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||||
|
|