mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-01-08 20:05:14 +01:00
Compare commits
3 commits
c3d23d929b
...
c2e9a799f7
Author | SHA1 | Date | |
---|---|---|---|
|
c2e9a799f7 | ||
|
3fa4435e55 | ||
|
41bd113535 |
6 changed files with 25 additions and 6 deletions
|
@ -42,6 +42,9 @@
|
|||
{{ $archive_page = site.GetPage (printf "publication_types/%s" $block.content.filters.publication_type) }}
|
||||
{{ $query = $query | intersect $archive_page.Pages }}
|
||||
{{ end }}
|
||||
{{ if $block.content.filters.exclude_publication_type }}
|
||||
{{ $query = $query | complement (site.GetPage (printf "publication_types/%s" $block.content.filters.exclude_publication_type)).Pages }}
|
||||
{{ end }}
|
||||
{{ if $block.content.filters.author }}
|
||||
{{ $archive_page = site.GetPage (printf "authors/%s" (urlize $block.content.filters.author)) }}
|
||||
{{ $query = $query | intersect $archive_page.Pages }}
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
{{ $archive_page = site.GetPage (printf "publication_types/%s" $block.content.filters.publication_type) }}
|
||||
{{ $query = $query | intersect $archive_page.Pages }}
|
||||
{{ end }}
|
||||
{{ if $block.content.filters.exclude_publication_type }}
|
||||
{{ $query = $query | complement (site.GetPage (printf "publication_types/%s" $block.content.filters.exclude_publication_type)).Pages }}
|
||||
{{ end }}
|
||||
{{ if $block.content.filters.author }}
|
||||
{{ $archive_page = site.GetPage (printf "authors/%s" (urlize $block.content.filters.author)) }}
|
||||
{{ $query = $query | intersect $archive_page.Pages }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.124.1'
|
||||
WC_HUGO_VERSION: '0.125.7'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
|
|
|
@ -55,7 +55,20 @@ sections:
|
|||
spacing:
|
||||
padding: ['20px', '0', '20px', '0']
|
||||
css_class: fullscreen
|
||||
|
||||
|
||||
- block: collection
|
||||
content:
|
||||
title: Latest Preprints
|
||||
text: ""
|
||||
count: 5
|
||||
filters:
|
||||
folders:
|
||||
- publication
|
||||
publication_type: 'article'
|
||||
design:
|
||||
view: citation
|
||||
columns: '1'
|
||||
|
||||
- block: markdown
|
||||
content:
|
||||
title:
|
||||
|
@ -64,4 +77,4 @@ sections:
|
|||
{{% cta cta_link="./people/" cta_text="Meet the team →" %}}
|
||||
design:
|
||||
columns: '1'
|
||||
---
|
||||
---
|
||||
|
|
|
@ -3,7 +3,7 @@ module github.com/wowchemy/starter-hugo-research-group
|
|||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.7
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.8-0.20240513193311-41bd113535e8
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-decap-cms v0.1.2-0.20231108143325-448ed0e3bd2b
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240509231741-c3d23d929bc6
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.123.3"
|
||||
HUGO_VERSION = "0.125.7"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
|
|
Loading…
Reference in a new issue