Skip to content

Commit

Permalink
Fix headless _partners bundle (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 authored Sep 20, 2024
1 parent 867fe30 commit 296568b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
6 changes: 5 additions & 1 deletion content/_partners/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
headless: true
cascade:
build:
list: never
publishResources: false
render: never
---
4 changes: 4 additions & 0 deletions content/drafts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
cascade:
draft: true
---
1 change: 0 additions & 1 deletion content/drafts/events.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Events | RAPIDS
description: Upcoming and past RAPIDS events
draft: true
# TODO: remove body_class once CSS is refactored and scoped properly
body_class: landing-page
layout: events
Expand Down
1 change: 0 additions & 1 deletion content/drafts/rsn.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: RAPIDS Support Notices | RAPIDS
description: RAPIDS Developer and Support Notices
draft: true
# TODO: remove body_class once CSS is refactored and scoped properly
body_class: landing-page
layout: rsn
Expand Down
1 change: 0 additions & 1 deletion content/drafts/templates.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Site Template | RAPIDS
description: Design guides for rapids.ai
draft: true
# TODO: remove body_class once CSS is refactored and scoped properly
body_class: landing-page
layout: templates
Expand Down
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
ID: G-RKXFW6CM42

disableKinds: [taxonomy, term]

enableGitInfo: true
sitemap:
changefreq: monthly
filename: sitemap.xml
Expand Down
6 changes: 1 addition & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ command = "./build.sh"

[build.environment]
GO_VERSION = "1.21.3"
HUGO_VERSION = "0.121.1"
HUGO_VERSION = "0.124.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

# Build drafts on PR previews
[context.deploy-preview]
command = "./build.sh --buildDrafts"

# Setting HUGO_ENV != "production" prevents
# Google Analytics from being loaded on PR previews
[context.deploy-preview.environment]
Expand Down
2 changes: 1 addition & 1 deletion vercel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install_dependencies() {
echo "installing hugo"
# TODO: move hugo version to its own file so it can be easily parsed by devcontainer
# init scripts and renovate can update it.
HUGO_VERSION="0.121.1"
HUGO_VERSION="0.124.1"
HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz"
curl -sSL "${HUGO_URL}" | tar -zx -C "${INSTALL_PREFIX}/bin"

Expand Down

0 comments on commit 296568b

Please sign in to comment.