modules: update - add support for any event type
|
@ -36,8 +36,10 @@ enableRobotsTXT = true
|
|||
footnotereturnlinkcontents = "<sup>^</sup>"
|
||||
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_cache$"]
|
||||
|
||||
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
|
||||
[permalinks]
|
||||
# If only creating events which are talks, we can optimize event URLs for talks.
|
||||
event = "/talk/:slug/"
|
||||
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
|
||||
tags = "/tag/:slug/"
|
||||
categories = "/category/:slug/"
|
||||
publication_types = "/publication-type/:slug/"
|
||||
|
|
Before Width: | Height: | Size: 606 KiB After Width: | Height: | Size: 606 KiB |
|
@ -13,8 +13,8 @@ title: 'Recent & Upcoming Talks'
|
|||
subtitle:
|
||||
|
||||
content:
|
||||
# Page type to display. E.g. post, talk, publication...
|
||||
page_type: talk
|
||||
# Page type to display. E.g. post, event, publication...
|
||||
page_type: event
|
||||
# Choose how many pages you would like to display (0 = all pages)
|
||||
count: 5
|
||||
# Filter on criteria
|
||||
|
|
|
@ -36,8 +36,10 @@ enableRobotsTXT = true
|
|||
footnotereturnlinkcontents = "<sup>^</sup>"
|
||||
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_cache$"]
|
||||
|
||||
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
|
||||
[permalinks]
|
||||
# If only creating events which are talks, we can optimize event URLs for talks.
|
||||
event = "/talk/:slug/"
|
||||
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
|
||||
authors = "/author/:slug/"
|
||||
tags = "/tag/:slug/"
|
||||
categories = "/category/:slug/"
|
||||
|
|
Before Width: | Height: | Size: 606 KiB After Width: | Height: | Size: 606 KiB |
|
@ -13,8 +13,8 @@ title: 'Recent & Upcoming Talks'
|
|||
subtitle:
|
||||
|
||||
content:
|
||||
# Page type to display. E.g. post, talk, publication...
|
||||
page_type: talk
|
||||
# Page type to display. E.g. post, event, publication...
|
||||
page_type: event
|
||||
# Choose how many pages you would like to display (0 = all pages)
|
||||
count: 5
|
||||
# Filter on criteria
|
||||
|
|
|
@ -2,4 +2,4 @@ module github.com/wowchemy/starter-academic/exampleSite
|
|||
|
||||
go 1.15
|
||||
|
||||
require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201224144527-9cce661db8d7 // indirect
|
||||
require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4 // indirect
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201224144527-9cce661db8d7 h1:pM9Tu7n9bipuVddgpfR7X3CCzvjKV6uhzCtZ7khg3pU=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201224144527-9cce661db8d7/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4 h1:EIk8PqNiLg1YcddZWwh2Khgvfkxh5KSX5hNsI7UBJVM=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||
|
|
Before Width: | Height: | Size: 940 B After Width: | Height: | Size: 940 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 1,006 B After Width: | Height: | Size: 1,006 B |
4
go.mod
|
@ -3,6 +3,6 @@ module github.com/wowchemy/starter-academic
|
|||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201224144527-9cce661db8d7 // indirect
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201224144527-9cce661db8d7
|
||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201228231801-219b05cbd2c4 // indirect
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4
|
||||
)
|
||||
|
|
8
go.sum
|
@ -1,4 +1,4 @@
|
|||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201224144527-9cce661db8d7 h1:2rxGeJZzjRKJh22ag9XE2va7pnfOl1ZTXMcrNT6Fufo=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201224144527-9cce661db8d7/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201224144527-9cce661db8d7 h1:pM9Tu7n9bipuVddgpfR7X3CCzvjKV6uhzCtZ7khg3pU=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201224144527-9cce661db8d7/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201228231801-219b05cbd2c4 h1:taX+pKqywm2nxmGsVZNj2OCoW39yzLJHwfC4e3j2PO0=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201228231801-219b05cbd2c4/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4 h1:EIk8PqNiLg1YcddZWwh2Khgvfkxh5KSX5hNsI7UBJVM=
|
||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||
|
|