modules: update - add support for any event type

This commit is contained in:
George Cushen 2020-12-28 23:35:36 +00:00
parent 790241a282
commit 43b360627f
19 changed files with 20 additions and 16 deletions

View file

@ -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/"

View file

Before

Width:  |  Height:  |  Size: 606 KiB

After

Width:  |  Height:  |  Size: 606 KiB

Before After
Before After

View file

@ -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

View file

@ -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

View file

@ -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=