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