modules: update - get Hugo v0.91 support

This commit is contained in:
George Cushen
2021-12-31 13:55:46 +00:00
parent 756904fa4c
commit d99a03a46f
78 changed files with 63 additions and 67 deletions

View File

@@ -66,3 +66,5 @@ related:
weight: 100 weight: 100
- name: categories - name: categories
weight: 70 weight: 70
security:
_merge: deep

View File

@@ -13,19 +13,19 @@ title: Recent Posts
subtitle: subtitle:
content: content:
# Page type to display. E.g. post, talk, publication...
page_type: post
# Choose how many pages you would like to display (0 = all pages)
count: 5
# Filter on criteria # Filter on criteria
filters: filters:
author: "" folders:
category: "" - post
tag: "" tag: ''
category: ''
publication_type: ''
author: ''
exclude_featured: false exclude_featured: false
exclude_future: false exclude_future: false
exclude_past: false exclude_past: false
publication_type: "" # Choose how many pages you would like to display (0 = all pages)
count: 5
# Choose how many pages you would like to offset by # Choose how many pages you would like to offset by
offset: 0 offset: 0
# Page order: descending (desc) or ascending (asc) date. # Page order: descending (desc) or ascending (asc) date.
@@ -33,9 +33,6 @@ content:
design: design:
# Choose a view for the listings: # Choose a view for the listings:
# 1 = List view: compact
# 2 = Compact columns: '2'
# 3 = Card
# 4 = Citation (publication only)
view: 2
--- ---

View File

@@ -13,28 +13,27 @@ title: Recent Publications
subtitle: '' subtitle: ''
content: content:
# Page type to display. E.g. post, talk, publication...
page_type: publication
# Choose how much pages you would like to display (0 = all pages)
count: 5
# Choose how many pages you would like to offset by
offset: 0
# Page order: descending (desc) or ascending (asc) date.
order: desc
# Filter on criteria # Filter on criteria
filters: filters:
folders:
- publication
tag: '' tag: ''
category: '' category: ''
publication_type: '' publication_type: ''
author: '' author: ''
exclude_featured: true exclude_featured: true
exclude_future: false
exclude_past: false
# Choose how many pages you would like to display (0 = all pages)
count: 0
# Choose how many pages you would like to offset by
offset: 0
# Page order: descending (desc) or ascending (asc) date.
order: desc
design: design:
# Choose a view for the listings: # Choose a view for the listings:
# 1 = List view: citation
# 2 = Compact columns: '2'
# 3 = Card
# 4 = Citation (publication only)
view: 4
--- ---
{{% callout note %}} {{% callout note %}}

View File

@@ -67,3 +67,5 @@ related:
weight: 100 weight: 100
- name: categories - name: categories
weight: 70 weight: 70
security:
_merge: deep

View File

@@ -13,19 +13,19 @@ title: Recent Posts
subtitle: subtitle:
content: content:
# Page type to display. E.g. post, talk, publication...
page_type: post
# Choose how many pages you would like to display (0 = all pages)
count: 5
# Filter on criteria # Filter on criteria
filters: filters:
author: "" folders:
category: "" - post
tag: "" tag: ''
category: ''
publication_type: ''
author: ''
exclude_featured: false exclude_featured: false
exclude_future: false exclude_future: false
exclude_past: false exclude_past: false
publication_type: "" # Choose how many pages you would like to display (0 = all pages)
count: 5
# Choose how many pages you would like to offset by # Choose how many pages you would like to offset by
offset: 0 offset: 0
# Page order: descending (desc) or ascending (asc) date. # Page order: descending (desc) or ascending (asc) date.
@@ -33,9 +33,6 @@ content:
design: design:
# Choose a view for the listings: # Choose a view for the listings:
# 1 = List view: compact
# 2 = Compact columns: '2'
# 3 = Card
# 4 = Citation (publication only)
view: 2
--- ---

View File

@@ -13,28 +13,27 @@ title: Recent Publications
subtitle: '' subtitle: ''
content: content:
# Page type to display. E.g. post, talk, publication...
page_type: publication
# Choose how much pages you would like to display (0 = all pages)
count: 5
# Choose how many pages you would like to offset by
offset: 0
# Page order: descending (desc) or ascending (asc) date.
order: desc
# Filter on criteria # Filter on criteria
filters: filters:
folders:
- publication
tag: '' tag: ''
category: '' category: ''
publication_type: '' publication_type: ''
author: '' author: ''
exclude_featured: true exclude_featured: true
exclude_future: false
exclude_past: false
# Choose how many pages you would like to display (0 = all pages)
count: 0
# Choose how many pages you would like to offset by
offset: 0
# Page order: descending (desc) or ascending (asc) date.
order: desc
design: design:
# Choose a view for the listings: # Choose a view for the listings:
# 1 = List view: citation
# 2 = Compact columns: '2'
# 3 = Card
# 4 = Citation (publication only)
view: 4
--- ---
{{% callout note %}} {{% callout note %}}

View File

@@ -3,6 +3,6 @@ module github.com/wowchemy/starter-academic/exampleSite
go 1.15 go 1.15
require ( require (
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211122231030-d26f01d5d6c3 // indirect github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a // indirect
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211122231030-d26f01d5d6c3 // indirect github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a // indirect
) )

View File

@@ -1,4 +1,4 @@
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211122231030-d26f01d5d6c3 h1:D2Mgk/D1dA2DOhY2bkit/qzMhYHt2YAAFxD91hP0h5U= github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a h1:f/NgjHm7mIosNKXlJuLb95waWukCKOedFAr6/nxGsj8=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211122231030-d26f01d5d6c3/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE= github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211122231030-d26f01d5d6c3 h1:wnwtj7LiAWEGuz3DevaQh5agYk5eCNSbzYGyV1n3s9w= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a h1:mRLbuALXyYdnRJrAQt6QKCy4XeNZEooD+pSKByBjFY0=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211122231030-d26f01d5d6c3/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY=

View File

@@ -3,7 +3,7 @@
publish = "public" publish = "public"
[build.environment] [build.environment]
HUGO_VERSION = "0.89.4" HUGO_VERSION = "0.91.2"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"
[context.production.environment] [context.production.environment]

4
go.mod
View File

@@ -3,6 +3,6 @@ module github.com/wowchemy/starter-hugo-academic
go 1.15 go 1.15
require ( require (
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211122231030-d26f01d5d6c3 // indirect github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a // indirect
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211122231030-d26f01d5d6c3 // indirect github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a // indirect
) )

8
go.sum
View File

@@ -1,4 +1,4 @@
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211122231030-d26f01d5d6c3 h1:D2Mgk/D1dA2DOhY2bkit/qzMhYHt2YAAFxD91hP0h5U= github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a h1:f/NgjHm7mIosNKXlJuLb95waWukCKOedFAr6/nxGsj8=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211122231030-d26f01d5d6c3/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE= github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211122231030-d26f01d5d6c3 h1:wnwtj7LiAWEGuz3DevaQh5agYk5eCNSbzYGyV1n3s9w= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a h1:mRLbuALXyYdnRJrAQt6QKCy4XeNZEooD+pSKByBjFY0=
github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211122231030-d26f01d5d6c3/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY=

View File

@@ -3,7 +3,7 @@
publish = "public" publish = "public"
[build.environment] [build.environment]
HUGO_VERSION = "0.89.4" HUGO_VERSION = "0.91.2"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"
[context.production.environment] [context.production.environment]